>From [EMAIL PROTECTED] Sun Jun 17 15:42:21 2001
>So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:31:58PM +0200:
>> Of course you need some basic knowledge on shell programming:
>>=20
>> Use:
>NOT!
>> pager=3D${PAGER-more}
>pager=3D${PAGER-less} if you don't want to surprise a lot of Linux users who
>are used to the comfort of less.
Well you are misinterpreting standards. The standard pager is more and if
a user did not set $PAGER he does not care about the pager he uses.
This is how UNIX always worked.
>And you should add this for users who are so unfortunate to still have to
>use more:
>which $pager 2>/dev/null || pager=3Dmore
>which $pager 2>/dev/null || unset pager
>if [ "x$pager" =3D=3D "x" ]; then
> echo no pager can be found
> exit 1
>fi
DONT DO THIS!
J�rg
EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni) If you don't have iso-8859-1
[EMAIL PROTECTED] (work) chars I am J"org Schilling
URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]