Pastebin

Check-in [7d31c96320]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix typo in pastebin-client
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7d31c96320e0eeff62dafb0aa25289d720a5fd1f3fd7a6cbf4286c058898aca5
User & Date: jef 2019-11-15 08:58:55
Context
2019-11-19
12:50
Fix typo in pastebin-client check-in: f6a3a4cff8 user: jef tags: trunk
2019-11-15
08:58
Fix typo in pastebin-client check-in: 7d31c96320 user: jef tags: trunk
08:41
Fix curl command in man page check-in: 408d88b84d user: jef tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to client/pastebin-client.

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
do
	case $OPTION in
	h)
		usage
		exit 0
		;;
	l)
		curl -s -d apikey="$APIKEY" "$PASTEURL/paste/api/list"
		exit $?
		;;
	d)
		curl -s -d apikey="$APIKEY" "$PASTEURL/paste/api/del/$OPTARG"
		exit $?
		;;
	p)
		curl -s -d apikey="$APIKEY" "$PASTEURL/paste/api/purge/$OPTARG"
		exit $?
		;;
	*)
		exit 1
		;;
	esac
done

curl -F 'data=<-' $PASTEURL







|



|



|









26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
do
	case $OPTION in
	h)
		usage
		exit 0
		;;
	l)
		curl -s -d apikey="$APIKEY" "$PASTEURL/api/list"
		exit $?
		;;
	d)
		curl -s -d apikey="$APIKEY" "$PASTEURL/api/del/$OPTARG"
		exit $?
		;;
	p)
		curl -s -d apikey="$APIKEY" "$PASTEURL/api/purge/$OPTARG"
		exit $?
		;;
	*)
		exit 1
		;;
	esac
done

curl -F 'data=<-' $PASTEURL