> >Fix:
> I don't really see what the author is intending to do in that case
> statement where it breaks.

Agreed. Handing arguments for -w is properly done in the 'w' case with
optarg. Commenting out the digit cases gives the desired result:

strawberry:/usr/src/usr.bin/fold ; ./fold -b1
usage: fold [-bs] [-w width] [file ...]

You'd want to test further, but it seems like you could just delete those
digit cases and that they are dead, broken code.


-- 
http://noncombatant.org/

Reply via email to