/bin/cat $BACKUPLOG|grep "Downloaded: ">>$BACKUPLOG'2'
Of course $BACKUPLOG and $BACKUPLOG'2' refer to a couple of files. For some reason, it will pull out lines that are NOT part of the line that has "Downloaded: " in it. The other lines do have the word "Downloaded" in them, but not the colon and space after it. I was wondering if it would be easier to tell it just to cat the 2nd line from the end of the file. That is where the line is always at. Problem is, I do not know how to do this. I hope that someone has an idea on this and would be kind enough to send me the correction.
Thanks Steve
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list