On 18. May 2004 at 2:03PM GMT, Adam Funk <[EMAIL PROTECTED]> wrote: > On Tuesday 18 May 2004 14:50, Colin Watson wrote: > > > Those both set the COLUMNS shell variable but fail to export it to the > > dpkg subprocess (you need an explicit 'export' to do that). > > 'COLUMNS=200 dpkg -l' is a special syntax that adds the variable to > > the environment of the dpkg subprocess without affecting the shell in > > which it is executed.
This doesn't work in all shells packaged for Debian. I use use "env" (coreutils): env COLUMNS=200 dpkg -l > I wasn't aware of that special syntax so it had not occurred to me to > try it -- it looked like a "run-on" of two commands that ought to have > something between them. [...] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]