-1
votes
1answer
22 views

bash file manipulation [closed]

I have files in a directory named so: 1welcome.avi 2introdution.avi I have a rhcsa.txt file that has what these files should be named as: rhcsa_1_welcome.avi rhcsa_2_introduction.avi both the ...
2
votes
2answers
82 views

How to improve the way I handle greping in this script

What my script does is: Append data to a file on a continuous basis. If an error pattern is observed, then do something. I need feedback on the way I am grepping for patterns in the continuously ...