On 02-01-2024 12:31AM, David T-G wrote:
Carlos & PJ, et al --
...and then Carlos E. R. said... % On 2024-02-01 02:39, -pj via openSUSE Users wrote: % % > paul-Thinkcentre-M57p:/tmp # susepaste ?t "-pj strace.txt" ?e "1080" -n % > "pj" 'strace.txt' % > openSUSE Paste script % > % > usage: % > susepaste [-f format] [-n nick] [-t title] [-e expire] [-s schema] % > [file] % % Perhaps doesn't like: % % ?t "-pj strace.txt" % % Try with: % % ?t "\-pj strace.txt" % % or % % ?t "pj strace.txt"
Why is this still a question??!? Does nobody else, really, see that PJ is using the wrong arg flag (something like an underscore but it's an extended char that I don't know what it is)?
davidtg@jpo:~> date | susepaste _t "with underscore" openSUSE Paste script
usage: susepaste [-f format] [-n nick] [-t title] [-e expire] [-s schema] [file]
davidtg@jpo:~> date | susepaste -t "with hyphen" Paste failed :-(
Ignore the "failed" error for the moment; it doesn't matter. The important thing is that the script doesn't barf on the illegal character. Note that it takes a hyphen to indicate an argument. I don't know what kind of man page y'all are reading, but mine shows a minus sign.
Good luck ...
:-D This below is the "Examples" (end of the man page) I have been reviewing.
EXAMPLES How to post list of your usb devices: lsusb ‐v | TITLE="My usb devices" NICK="Geeko" susepaste lsusb ‐v | susepaste ‐t "My usb devices" ‐n "Geeko" How to post susepaste that will last six hours: susepaste ‐t "openSUSE paste" ‐e "360" ‐f "bash" ‘which susepaste‘ How to post an image that will last three hours: susepaste ‐t "openSUSE image" ‐e "180" ‐f "image" example.png COPYRIGHT Copyright (C) 2010 by Michal Hrusecky <Michal@Hrusecky.net> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. AUTHORS Michal Hrusecky <Michal@Hrusecky.net> SUSEpaste 0.5 April 2011 SUSEPASTE(1)