grep - BASH/egrep redirect to file -
i've looked, , while going simple i'm guessing, eluding me.
simple script:
rdate=`date +"%m-%d-%y %t"` echo $rdate >> repo_changelog repo sync | egrep '(from)|(->)' >> repo_changelog if run egrep on test file, fine. i'm missing before redirect >> i'm not sure what.
grep pipe io-redirection
No comments:
Post a Comment