30 Sep
2008
30 Sep
'08
07:06
----- Original Message ----- From: "drek" <drek@drek.nl> To: "opensuse" <opensuse@opensuse.org> Sent: Monday, September 29, 2008 9:11 AM Subject: [opensuse] bash pipe Hello,
In a script I want to know in which directory I am, but I don't want to know the whole path.
echo ${PWD##*/} -- Brian K. White brian@aljex.com http://www.myspace.com/KEYofR +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org