Re: dpkg -l columns shrinked
On Mon, 2003-05-19 at 03:28, Kevin Mark wrote:
> to capture output easily use 'script' (man script)
> it will save the output to a text file called 'typescript' by default.
> Just do this:
> $ script
> $ dpkg -l
> $ exit
> now you can 'cat typescript' or 'vi typescript'
Why not pipe the output?
# x=`date +%y%m%d.%H%M`
# COLUMNS=120 dpkg -l > /root/dpkg/dpkg.installed.$x
> On Sun, 2003-05-18 at 23:46, Pierre THIERRY wrote:
> > > $ COLUMNS=190 dpkg -l
> >
> > I was about to reply 'already tried', but I noticed you're using a space
> > where I did use a semi-colon... And it works well, now.
> >
> > Thanks,
> > le Moine Fou
--
+---------------------------------------------------------------+
| Ron Johnson, Jr. mailto:ron.l.johnson@cox.net |
| Jefferson, LA USA http://members.cox.net/ron.l.johnson |
| |
| The purpose of the military isn't to pay your college tuition |
| or give you a little extra income; it's to "kill people and |
| break things". Surprisingly, not everyone understands that. |
+---------------------------------------------------------------+
Reply to: