Linux.com

Four ways to extract the current directory name

Posted by: Anonymous [ip: 89.219.147.3] on November 06, 2007 01:18 PM
Hehe, I join in laughter with fake stevie here. Multiple rev's and awk and piping for such a trivial task? Kind of like taking a car engine apart thru the exhaust pipe -- hey man, why walk 10 ft straight on the pavement when you can take a 100 km detour thru mud, water and fire.

Stick with the first example if you don't know what you're doing.

#

Return to Four ways to extract the current directory name