Pastebin

Check-in [f6a3a4cff8]
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: f6a3a4cff89ede821369971a40ec4df7f46a8ee111042fa7db5f4073481c5904
User & Date: jef 2019-11-19 12:50:43
Context
2019-11-28
20:55
Add explicit charset check-in: cd02f4f9a0 user: jef tags: trunk
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
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to README.md.

29
30
31
32
33
34
35
36
37
38
39
40
41
    $ pastebin-client -h
    Command line pastebin client
    Usage:
            pastebin-client < file
    
    Options:
            -h           : display this help and exit
            -l           : list avalable pastes
            -d <pasteid> : delete a specific paste
            -p <ndays>   : purge pastes older than <ndays>

The header of the file should be edited to specify the target
pastebin, and associated API key if any.







|





29
30
31
32
33
34
35
36
37
38
39
40
41
    $ pastebin-client -h
    Command line pastebin client
    Usage:
            pastebin-client < file
    
    Options:
            -h           : display this help and exit
            -l           : list available pastes
            -d <pasteid> : delete a specific paste
            -p <ndays>   : purge pastes older than <ndays>

The header of the file should be edited to specify the target
pastebin, and associated API key if any.

Changes to client/pastebin-client.

11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
	cat <<-EOF
	Command line pastebin client
	Usage:
	        $progname < file

	Options:
	        -h           : display this help and exit
	        -l           : list avalable pastes
	        -d <pasteid> : delete a specific paste
		-p <ndays>   : purge pastes older than <ndays>
	EOF
}

# parse command line options
while getopts "hld:p:" OPTION







|







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
	cat <<-EOF
	Command line pastebin client
	Usage:
	        $progname < file

	Options:
	        -h           : display this help and exit
	        -l           : list available pastes
	        -d <pasteid> : delete a specific paste
		-p <ndays>   : purge pastes older than <ndays>
	EOF
}

# parse command line options
while getopts "hld:p:" OPTION