bash scripting across linux and solaris

Eric Chadbourne EChadbourne-3av5VAs6qClGBRGhe+f61g at public.gmane.org
Fri Aug 28 16:14:04 EDT 2009


FWIW I frequently write bash scripts that have to work on Linux and
SunOS.  Version differences can be a pain.  All sorts or little extras
are missing.

$ /bin/bash --version
GNU bash, version 2.05.0(1)-release (sparc-sun-solaris2.9)
Copyright 2000 Free Software Foundation, Inc.
$

$ /bin/bash --version
GNU bash, version 3.00.15(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2004 Free Software Foundation, Inc.
$


- Eric C.  aka the bash lover from Quincy.






More information about the Discuss mailing list