Bug#961411: apt search -- output NOT grepable

2020-05-24 Thread David Kalnischkies
On Sun, May 24, 2020 at 12:49:21PM -0400, Lee wrote: > On 5/24/20, Leszek Dubiel wrote: > > I've completely switched to using "apt" for all debian package management. > > I'm fine with the "apt" tool, it fits all my needs except one... serarching. It's no problem to use "apt-cache search" if you

Bug#961411: apt search -- output NOT grepable

2020-05-24 Thread Leszek Dubiel
W dniu 24.05.2020 o 18:49, Lee pisze: You can use awk to put the lines together and then grep: $ apt search perl | awk -v RS="" '{gsub("\n",""); print $0}' | grep JSON | grep -i data Yes... you're right.. but it's hard to remember... and I find myself going back to "apt-cache" ... W d

Bug#961411: apt search -- output NOT grepable

2020-05-24 Thread Lee
On 5/24/20, Leszek Dubiel wrote: > Package: apt > Version: 1.8.2.1 > Severity: normal > > I've completely switched to using "apt" for all debian package management. > I'm fine with the "apt" tool, it fits all my needs except one... serarching. > > For example I look for package to read/write JSON

Bug#961411: apt search -- output NOT grepable

2020-05-24 Thread Leszek Dubiel
Package: apt Version: 1.8.2.1 Severity: normal I've completely switched to using "apt" for all debian package management. I'm fine with the "apt" tool, it fits all my needs except one... serarching. For example I look for package to read/write JSON data in perl. In old days I used the command "a