Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT: need text viewer with delete and multiple files
Date: Tue, 13 Dec 2005 04:23:14
Message-Id: 7573e9640512122015n680d6b7cmff1e9ae2c5955440@mail.gmail.com
In Reply to: [gentoo-user] OT: need text viewer with delete and multiple files by Daevid Vincent
1 On 12/12/05, Daevid Vincent <daevid@××××××.com> wrote:
2 > 'less /var/log/portage-logs/*' has most of these features, but it is sadly
3 > missing the delete mode (at least I don't know it).
4
5 for x in /var/log/portage-logs/*; do
6 less $x
7 rm -i $x
8 done
9
10 --
11 gentoo-user@g.o mailing list