if they are always going to give you full path to a command you can use -f filename and -x filename to make sure it is a file and that the user can execute it...
this sounds a bit like a homework assignment...
- Ant
In reply to Re: simple perl
by suaveant
in thread simple perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |