my lame attempt at a shell script...

Eric F Crist ecrist at secure-computing.net
Mon Jan 3 14:22:21 PST 2005


On Jan 3, 2005, at 4:16 PM, Timothy Luoma wrote:

>
> On Jan 3, 2005, at 4:52 PM, Eric F Crist wrote:
>
>> In regards to the = or -eq, I can't discern a difference in output 
>> when
>> I use them.  Can you explain further their differences?
>
> I think they are different ways of saying the same thing.  Personal 
> preference only as to which is better.
>
>> What would NOT EQUAL be?
>
> !=
>
> -ne only works for integars (see 'man test').
>
> TjL

Figured that out, thanks to your reference to man test.

Thanks.
_______________________________________________________
Eric F Crist                  "I am so smart, S.M.R.T!"
Secure Computing Networks              -Homer J Simpson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050103/e1309fbf/PGP.bin


More information about the freebsd-questions mailing list