Colin Watson wrote:

On Wed, Jan 14, 2004 at 11:59:12AM -0600, Kent West wrote:


I need to run a test in a .bashrc startup script . . .

if {the first word of "uname -a" is Linux}



Why not just use 'uname', which prints Linux on Linux and SunOS on Solaris?




That solves my problem! Thanks!


In general, try [some other things . . .]


And thanks for this additional information; good stuff to know.


--
Kent


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to