On Thu, 1 Feb 2024 00:53:24 -0600 -pj via openSUSE Users <users@lists.opensuse.org> wrote:
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.
I'm surprised nobody has confirmed what David is saying. He's right. For whatever reason it seems pj isn't using a normal hyphen character to introduce some of the arguments. Fix that and the commands should work.