Gentoo Archives: gentoo-user

From: Ian Hastie <ianh@××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] debugging init scripts
Date: Mon, 16 Jul 2007 01:23:53
Message-Id: 20070716021336.7f8da8e6@gadget.local.net
In Reply to: Re: [gentoo-user] debugging init scripts by Iain Buchanan
1 On Mon, 16 Jul 2007 09:37:26 +0930
2 Iain Buchanan <iaindb@××××××××××××.au> wrote:
3
4 > it's a funny workaround, but sometimes you have to type
5 >
6 > cat file | less
7 >
8 > to stop less being "intelligent". Or you could disable it's input
9 > preprocessor:
10 >
11 > LESSOPEN="" less /usr/bin/echo-client-2
12
13 Or you can use the -L, aka --no-lessopen, switch. It does the same
14 thing, but with less typing...
15
16 : -L or --no-lessopen
17 : Ignore the LESSOPEN environment variable (see
18 : the INPUT PREPROCESSOR section below). This option can be set from
19 : within less, but it will apply only to files opened subsequently,
20 : not to the file which is currently open.
21
22 --
23 Ian.
24 --
25 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] debugging init scripts Iain Buchanan <iaindb@××××××××××××.au>