my lame attempt at a shell script...

Timothy Luoma lists at tntluoma.com
Mon Jan 3 14:16:55 PST 2005


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



More information about the freebsd-questions mailing list