Date: Wed, 28 May 1997 16:54:04 +0200 (MET DST) From: Zahemszky Gabor <zgabor@CoDe.hu> To: freebsd-questions@freebsd.org (FreeBSD questions) Cc: chaos@tgci.com Subject: Re: rc.conf vs sysconfig in 2.2.2-RELEASE Message-ID: <199705281454.QAA00435@CoDe.hu> In-Reply-To: <199705280422.VAA08190@train.tgci.com> from "Riley J. McIntire" at "May 27, 97 08:49:48 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> uh, I thought it would be "env EDITOR=/usr/bin/vi" ??? NO! > I did a "man export" and didn't find anything. It's a shell builtin in sh'ksh'pdksh'bash-world In (t)csh, you need setenv EDITOR /usr/bin/vi WITHOUT the ``=''! Bye, Gabor -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705281454.QAA00435>