bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Variable getopts lost


From: DanielBu
Subject: Variable getopts lost
Date: Mon, 22 Feb 2010 15:14:57 -0800 (PST)

Hello all,

I get crazy with getopts:
Some Times my script (500 Lines) don't take input parameters like this:

/bin/bash pdf2media.sh -f 9 -l 104 Document.pdf

the script reads -f 9 and Documents.pdf but missing -l 104

It did work for a log time - I know there was a problem some times bevor.
After reboot everything was OK - but this didn't help at this time.
Also a trick to get dim. of an jpeg putten into a $jpegdimx fails ...

Info by the way: The script gets via pdfimages surprising more then 100000
Images ...
maybe this crashes something?

I've googled this - but no real results.

Please help - I worked 3 Month for this script.
Thanks a lot :-)
Daniel 
-- 
View this message in context: 
http://old.nabble.com/Variable-getopts-lost-tp27695401p27695401.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]