On Wed, Sep 25, 2002, Shlomi Fish wrote about "Help with a Bourne Shell Script": > http://t2.technion.ac.il/~shlomif/fetchweb > My problem is that proc_args does not return the new command line.
That's because parse_args returned "0\n0\nyour arguments" instead of "your arguments", The problem is the wrong way in which you use expr! Do test $# == 0 not expr $# == 0 expr generates output, which you do not want! -- Nadav Har'El | Wednesday, Sep 25 2002, 19 Tishri 5763 [EMAIL PROTECTED] |----------------------------------------- Phone: +972-53-245868, ICQ 13349191 |Politics, n: from Greek, "poly"=many, http://nadav.harel.org.il |"ticks"=blood sucking parasites. ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]