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'?