[Gllug] Locating Subdirectories

Dan Kolb dankolb at ox.compsoc.net
Tue Jul 27 12:23:49 UTC 2004


On Tue, Jul 27, 2004 at 01:00:49PM +0100, Matthew King wrote:
> 
> ls -d1 */|sed 's/\///g'

Rather than escaping the /, it may be clearer to use another delimiter.
e.g.: sed 's,/,,g'.

Dan
-- 
Take my word for it, the silliest woman can manage a clever man, but it
needs a very clever woman to manage a fool.
		-- Kipling
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list