Try this out:
Code:
ls -d */ | tr -d '\/'
It will remove the '/' at the end. This command string will put each directory on it's own line, which may or may not be what you want.
Although I think someone got this thread first with a sed command, which basically does the same thing. 'Toe mato' vs 'to ma to'.
--Shaun