... so will sed ;o)>On Tue, 2009-08-04 at 14:21 +0200, Arthur Meeks Meeks wrote:
>> I found the way to do it finally.
>> I'm now dealing with parsing the new file, as I need to look for two
>> values, REPLICATION CLIENT and "ALL"
>> So, if the machine has REPLICATION CLIENT is ok and if it has "GRANT
>> ALL" is also good.
>> So, is there a way with grep to say: grep "REPLICATION CLIENT" OR
>> "GRANT ALL" ?
>For future reference, note that "tail -n +2" will remove the first line
[[email protected] ~]$ cat afil
[[email protected] ~]$ cat afil | sed -e '1d'
(and so, the text processing wars began!)
Yes, there must be at least 153 ways to do this.
-- fedora-list mailing list [email protected] To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines