Hey all,
I want to go ahead and create a alias for the command /bin/passwd.
But I want to do this so that it will/can detect if the -r option is added to the command as well...Can this be done...
For example if the user enters:
# passwd
--> Alias will issue /bin/passwd -r
# passwd -r
--> Alias will issue /bin/passwd -r NOT -r -r
Is there any thing the .cshrc/login file can do to accomodate a alias with options.
I am trying to do this instead of implementing a wrapper script for /bin/passwd.
...Mike