[bug-notifications] [wgetpaste 0003871]: /usr/bin/bash on Solaris 8 + 9 bails out on wgetpaste

Mantis Bug Tracker noreply at opencsw.org
Sun Sep 6 09:09:18 CEST 2009


The following issue has been RESOLVED. 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=3871 
====================================================================== 
Reported By:                skayser
Assigned To:                maciej
====================================================================== 
Project:                    wgetpaste
Issue ID:                   3871
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-28 21:53 CEST
Last Modified:              2009-09-06 09:09 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

====================================================================== 

---------------------------------------------------------------------- 
 (0006675) maciej (manager) - 2009-09-06 09:09
 http://www.opencsw.org/bugtrack/view.php?id=3871#c6675 
---------------------------------------------------------------------- 
The new wgetpaste version is now in current.




More information about the bug-notifications mailing list