From: short <> Date: Wed, 7 Jan 2004 15:00:06 +0000 (+0000) Subject: Fixed compatibility with Solaris dumb grep(1). X-Git-Tag: bp_liverpm~43 X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=a38230c2bf4496c612433f0c82b4218e53009f96;hp=ff1f6eae0c4cd2278780d159453e839d0c46e1cd Fixed compatibility with Solaris dumb grep(1). --- diff --git a/.bashrc b/.bashrc index e7af0fb..a521e40 100644 --- a/.bashrc +++ b/.bashrc @@ -67,7 +67,7 @@ _bash_profile_addpath -f CLASSPATH "/opt/SUNWhvmd/launcher/GUI/classes/launcher. unset -f _bash_profile_addpath for i in tar ls find cp mv ln md5sum du grep ar chown chmod tail;do - which g$i | grep -q '^/' && alias $i=g$i + which g$i | grep '^/' >/dev/null && alias $i=g$i done alias ls='ls -bF' @@ -107,7 +107,7 @@ export MINICOM="-m -c on" # metakeys+color export HISTSIZE=100000 export HISTFILESIZE="$HISTSIZE" export CVS_RSH="ssh" -grep -qw "$TERM" /etc/termcap || export TERM=vt220 +grep -w "$TERM" /etc/termcap >/dev/null || export TERM=vt220 export SOCKS5_SERVER=icsocks.holland.sun.com # Force strcoll() to sort case-sensitively! (empty/undef doesn't work)