[indiana-discuss] Code review request
David.Comay at Sun.COM
David.Comay at Sun.COM
Thu Jan 31 21:05:26 PST 2008
> 3. AFAIK the "\\w" can be replaced with "\$PWD" (or "\${PWD}") - making
> this more portable (e.g. it should work with bash and ksh93)
One reason to use "\\w" is that it will print tilde (~) for the home
directory or subdirectories under that. ${PWD} will expand to the full
path which is both a lot more verbose and seems different from that
other vendors do.
dsc
More information about the indiana-discuss
mailing list