nkabir / shflags

Automatically exported from code.google.com/p/shflags
0 stars 0 forks source link

shflags is not working on freebsd (and certainly other BSD) #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. login to a freebsd system.
2. checkout the 1.0.3 version
3. run in the example dir: ./hello_world.sh -n toto

What is the expected output? What do you see instead?
expected:
./hello_world.sh -n toto
Hello, toto!

seen:
expr: illegal option -- n
usage: expr [-e] expression
flags:FATAL unrecognized option ()

What version of the product are you using? On what operating system?
1.0.3 on freebsd.

Please provide any additional information below.
See the attached file for a working patch.  Apply with patch -p1 < shaflags.path

Original issue reported on code.google.com by sofer.at...@gmail.com on 18 Sep 2011 at 5:42

GoogleCodeExporter commented 9 years ago
Missing "$" before some of the EXPR variables in the patch.  corrected et 
reuploaded.

Original comment by sofer.at...@gmail.com on 18 Sep 2011 at 6:02

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r149.

Original comment by kate.w...@forestent.com on 17 Dec 2012 at 11:28

GoogleCodeExporter commented 9 years ago
Thanks for the patch! I tweaked it bit to conform to the style guide. Please 
test and let me know if it works. I don't have a local *BSD installation to 
test with.

Original comment by kate.w...@forestent.com on 17 Dec 2012 at 11:29