OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003871 [wgetpaste] regular use major always 2009-08-28 21:53 2009-09-21 00:28
Reporter skayser View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0003871: /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
Additional Information $ pkgparam CSWwgetpaste VERSION
2.13,REV=2009.07.29
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006647)
maciej (manager)
2009-08-29 11:30

Updated package is in testing:

http://mirror.opencsw.org/testing/wgetpaste-2.13,REV=2009.08.29-SunOS5.8-all-CSW.pkg.gz [^]
(0006648)
maciej (manager)
2009-08-29 11:53

Tested on the buildfarm:

maciej@build8st [build8st]:~ > echo "The OS is: $(uname -a)" | wgetpaste
Your paste can be seen here: http://dpaste.com/86922/ [^]

Looks good, I'm sending it to Phil to release.
(0006675)
maciej (manager)
2009-09-06 09:09

The new wgetpaste version is now in current.
(0006696)
maciej (manager)
2009-09-14 13:36

wgetpaste 2.13,REV=2009.08.29 is now available from the mirrors.
(0006734)
maciej (manager)
2009-09-21 00:28

Trying if setting the issue to 'closed' will make the e-mail not being sent to me.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker