if I had a code like this
Code:
# grep -a ": " md5list.txt | cut -f2,3 -d
How can I run the command basename for each line of the output?
basename {(grep -a ": " md5list.txt | cut -f2,3 -d )}
EDIT: A little more clarity on what im doing:
I didn't realize that 'md5sums' was a link to a nice formatted page. So I copied all packages here and put them into a text file. I decided to write a script that put all of these in that format.
So basically, even though I have already ran the md5sum -c 'md5sum-list' I still want to finish this small project because I am learning a ton.