bug-bash
[Top][All Lists]
Advanced

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

Re: Variable getopts lost


From: Mart Frauenlob
Subject: Re: Variable getopts lost
Date: Tue, 23 Feb 2010 12:19:12 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

On 23.02.2010 00:14, DanielBu wrote:
> 
> 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 

Did you try `bash -- pdf2media.sh -f 9 -l 104 Document.pdf'?


reply via email to

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