Kevin Mark wrote: > ... >>>dpkg -l|grep libc >> >>This is a solution, but not perfect, 'cause sometimes the package name >>gets truncated, e.g.: > > Hi Tong, > here is the answer to the 'truncation'. > doing: > COLUMNS=139 dpkg -l > this sets the env var COLUMNS temporarity to 139 for this command. > -Kev
Surely if you pipe the output to a non-tty, dpkg should not truncate anything. It should be making that conditional upon a true result from isatty( 1 ). -- Paul <http://paulgear.webhop.net> -- Everyone who voted for slavery was free. Everyone who votes for abortion was born. That's how oppression works. -- Matt Evans, Harvard Law Student -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]