Instead of line wrapping, is there a way to get a command such as 'less' to truncate? My fix at the moment is:
function lesstruncated { cat $2 | sed -e "s/\(^.\{1,$1\}\).*/\1/" | less ;}
for example:
lesstruncated 40 filename
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
