diff options
author | Oleg Finkelshteyn <olegfink@gmail.com> | 2009-08-27 00:11:41 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-09-06 23:50:20 +0200 |
commit | 5dbd00faf7a27866ffc2a7197c5cc704425a7af8 (patch) | |
tree | c81d682cf42f40493646b72326d809c388bfdffb /pactest/vercmptest.sh | |
parent | c88ac86292a9cd9b87ab9ebf203b9eca75af1f28 (diff) | |
download | pacman-5dbd00faf7a27866ffc2a7197c5cc704425a7af8.tar.gz pacman-5dbd00faf7a27866ffc2a7197c5cc704425a7af8.tar.xz |
Don't wrap lines when we don't have a column size
For example when we are not in a tty, there is no point in wrapping the
output. This actually makes the job harder for scripts.
$ pacman -Si binutils | grep Desc
Description : A set of programs to assemble and manipulate binary and
The description was cut because the rest was on the following line.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
[Dan: use printf everywhere]
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/vercmptest.sh')
0 files changed, 0 insertions, 0 deletions