I was wondering if that [ program is supposed to be there, or if
   it's a typo.  If I run info [ I get the info page for test, so I
   wasn't certain if they were related.

They are the same, [ is for systems that don't have [ builtin into the
shell.  Consider the following shell expresion:

if [ -z $foo ]; then foo; else bar; fi

You could also write the above using `test', test -z $foo.

Cheers.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils
  • Re: [ program Alfred M\. Szmidt

Reply via email to