Re: list folders only!
Cyrus Kriticos wrote:
>> alias dir 'set d = `ls -1F \!* |grep /`; if ($#d) echo "$d:gh";unset d'
>
> "if" without "then" and "fi"?
I think that's tcsh syntax.
tcsh> if (10 == 10) echo "ok"
ok
--
All the commands are tested with bash and GNU tools, so they may use
nonstandard features. I try to mention when something is nonstandard (if
I'm aware of that), but I may miss something. Corrections are welcome.
|