Philip Hands <[EMAIL PROTECTED]> writes: > If people really think it is necesary I can add: > > PPP_TTYNAME=`/usr/bin/basename "$2"`
I think this is a bad idea. Anyone who wants to do this, can, and throwing away information in situations like this is usually a bad idea. Consider this (obviouly contrived) example. Say I decide for some really strange reason to symlink a device file into my home directory: (cd ~/mydev && ln -s /dev/ttyS0 .) With the "basename" approach, you *completely* lose the ability to distinguish pppd /dev/ttyS0 and pppd /home/rlb/mydev/ttyS0 Note, that I'm not saying that I can come up with a good argument why it would be important to be able to make this distinction (or to even do what I'm depicting in the example), but I am saying that since I can't prove to myself that the exact arguement used to invoke pppd will *never* be crucial, you shouldn't mangle it. -- Rob Browning <[EMAIL PROTECTED]> PGP fingerprint = E8 0E 0D 04 F5 21 A0 94 53 2B 97 F5 D6 4E 39 30 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .