Re: (e)grep "remove lines with only numbers"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This was a quickly thrown together expression to deal with the input the poster had specified, which didn't have any lines of only spaces.

But you definitely have a point. The one you posted is much better than mine.

Malcolm

On Jul 8, 2004, at 8:24 AM, zavandi wrote:

M. B. Heath wrote:
egrep -v '^[0-9 ][0-9 ]*$'

Maybe, but that would also remove the lines containing only spaces...


- : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux