jeudi 27 novembre 2014

Extracting string from filenames within a file


Vote count:

0




new to bash scripts and trying to grep for a string in a list of directories:


directory.txt contains the following


/apps/work/txt.out


/apps/work/Monday.txt


/apps/garbage/howdo.file


What i want to do is for each line in directory.txt, read the file and grep for a string.


Can someone point me in the right direction? Thanks



asked 22 secs ago







Extracting string from filenames within a file

Aucun commentaire:

Enregistrer un commentaire