[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: How to match a substring?



Gregory Seidman 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} }
if expr "`uname -a`" : 'Linux ' > /dev/null

Thanks!

--
Kent



Reply to: