Discussion: list folders only!
Afficher un message
Vieux 24/03/2008, 22h36   #15
pk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.
  Réponse avec citation
 
Page generated in 0,04169 seconds with 9 queries