Guest User

PastebinCL Manual

a guest
Jan 15th, 2012
89,745
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PastebinCL(1)
  2.  
  3.  
  4.  
  5. SYNOPSIS
  6.  
  7. pastebincl [options]
  8.  
  9.  
  10.  
  11. DESCRIPTION
  12.  
  13. PastebinCL is a program which sends a "paste" at http://pastebin.com/
  14. using a command-line interface.
  15.  
  16.  
  17. USAGE
  18. When you run pastebincl, it will wait for user entry until you press
  19. ctrl+D. Then, it will send the text on pastebin with the given
  20. options.
  21.  
  22.  
  23. POST AS A REGISTERED USER
  24. To post as a registered user, you must generate a file containing your
  25. username and password. To do so, run "pastebincl --usergen".
  26.  
  27.  
  28.  
  29. OPTIONS
  30.  
  31. The possible arguments are:
  32.  
  33.  
  34. -v, --version
  35. Prints the program version and basic informatons, and then
  36. returns.
  37.  
  38.  
  39. -h, -?, --help
  40. Prints a short help, and then returns.
  41.  
  42.  
  43. --licence
  44. Prints the program licence, and then returns.
  45.  
  46.  
  47. --usergen
  48. Generates an "users" file for the software with the informations
  49. given afterwards.
  50.  
  51.  
  52. -n [name], --name=[name]
  53. Defines [name] as the paste name.
  54.  
  55.  
  56. -s [syntax], --syntax=[syntax]
  57. Defines [syntax] as the syntax highlighting pattern of your
  58. text, eg. "c" or "lolcode" (see the full list on http://paste-
  59. bin.com/). To display the complete list, run "pastebincl --syn-
  60. Posts a private past instead of a public one. A private paste
  61. won't be displayed in the latest pastes, neither indexed by
  62. search engines.
  63.  
  64.  
  65. -g, --guest
  66. Posts the paste as a guest. It's the default option if no con-
  67. figuration file was set.
  68.  
  69.  
  70.  
  71. FILES
  72.  
  73. ~/.pastebinclrc
  74. The file generated by --usergen. It is encrypted with a built-in
  75. key generated during compilation, and contains username and
  76. password for your pastebin account.
  77.  
  78.  
  79.  
  80. EXAMPLES
  81.  
  82. To post a paste without options:
  83. $ pastebincl (type your text, then ctrl+D)
  84.  
  85.  
  86. To post without options a file named "foo.txt":
  87. $ cat foo.txt | pastebincl
  88.  
  89.  
  90. To post a paste named "foo", in C language, privately, which expires in
  91. 10 minutes:
  92. $ pastebincl -n foo -s c -e 10M -p (type your text, then ctrl+D)
  93.  
  94.  
  95.  
  96. AUTHOR
  97.  
  98. Both pastebincl and this manpage were written by Theophile BASTIAN
  99. (aka. Tobast) <contact@tobast.fr>.
  100.  
  101.  
  102.  
  103. LICENCE
  104.  
  105. Pastebincl is under GNU GPL licence, as published by the Free Software
  106. Fundation on version 3.
  107.  
  108.  
  109.  
  110. REPORTING BUGS
  111.  
  112. Please report every bug you encounter to <error-report@tobast.fr>.
  113.  
  114.  
  115.  
  116.  
  117. 25 December 2011 PASTEBINCL(1)
RAW Paste Data