On 2006-11-29 12:06+0100 Arjen Markus wrote: > Argh, why didn't I think of that! You are most probably right. Well, I > will check > what is happening (or rather, what is not happening) later then. > (Debugging shell > scripts is always, well, cumbersome)
Just learned a trick about that from (http://iptables-tutorial.frozentux.net/chunkyhtml/x4983.html). Temporarily replace #!/bin/bash with #!/bin/bash -x That prints out everything as the script proceeds which is extremely useful for debugging. (Probably one of those things virtually everybody knows who has worked seriously with scripts, but I was not aware of it until a few days ago.) Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel