[bug-notifications] [wgetpaste 0003871]: /usr/bin/bash on Solaris 8 + 9 bails out on wgetpaste
Mantis Bug Tracker
noreply at opencsw.org
Fri Aug 28 21:53:46 CEST 2009
The following issue has been SUBMITTED.
======================================================================
http://opencsw.org/bugtrack/view.php?id=3871
======================================================================
Reported By: skayser
Assigned To:
======================================================================
Project: wgetpaste
Issue ID: 3871
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2009-08-28 21:53 CEST
Last Modified: 2009-08-28 21:53 CEST
======================================================================
Summary: /usr/bin/bash on Solaris 8 + 9 bails out on
wgetpaste
Description:
skayser @ build8s ~$ wgetpaste --help
/opt/csw/bin/wgetpaste: line 114: syntax error near unexpected token
`<<<'
/opt/csw/bin/wgetpaste: line 114: ` sed -e 's|%|%25|g' -e 's|&|%26|g'
-e 's|+|%2b|g' -e 's|;|%3b|g' -e 's| |+|g' <<< "$*" || die "sed failed"'
skayser @ build9s ~$ wgetpaste --help
/opt/csw/bin/wgetpaste: line 114: syntax error near unexpected token
`<<<'
/opt/csw/bin/wgetpaste: line 114: ` sed -e 's|%|%25|g' -e 's|&|%26|g'
-e 's|+|%2b|g' -e 's|;|%3b|g' -e 's| |+|g' <<< "$*" || die "sed failed"'
skayser @ build8s ~$ head -1 /opt/csw/bin/wgetpaste
#!/usr/bin/env bash
skayser @ build8s ~$ type bash
bash is /usr/bin/bash
Using /opt/csw/bin/bash works.
skayser @ build8s ~$ /opt/csw/bin/bash /opt/csw/bin/wgetpaste --help |
head
Usage: /opt/csw/bin/wgetpaste [options] [file[s]]
Options:
-l, --language LANG set language (defaults to "Plain Text")
-d, --description DESCRIPTION set description (defaults to "stdin" or
filename)
-n, --nick NICK set nick (defaults to your username)
-s, --service SERVICE set service to use (defaults to
"dpaste")
-e, --expiration EXPIRATION set when it should expire (defaults to
"30 days")
-S, --list-services list supported pastebin services
======================================================================
More information about the bug-notifications
mailing list