egrep-a-licious
My AIX box doesn’t have GNU grep, so I use egrep on occasion. One liner to find Foo or Bar at the beginning of a line: egrep ^’(Foo|Bar)’ some_file
Posted in computers/programming | No Comments »My AIX box doesn’t have GNU grep, so I use egrep on occasion. One liner to find Foo or Bar at the beginning of a line: egrep ^’(Foo|Bar)’ some_file
Posted in computers/programming | No Comments »