Date: Tue, 6 May 1997 07:01:14 -0800 (AKDT) From: Steve Howe <un_x@anchorage.net> To: freebsd-questions <questions@freebsd.org> Subject: string or int? Message-ID: <Pine.BSF.3.95q.970506064528.10842A-100000@aak.anchorage.net>
next in thread | raw e-mail | index | archive | help
in regards to sh programming ... ------------------------------------------------------------------------- "man test" says to use != and = for strings, and -ne and -eq for integers ... many times, they appear to be interchangable ... what is the rule to determine whether your value is a string or an integer?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970506064528.10842A-100000>