Hoping someone could enlighen me. I have a file containing lines which consists of filenames and directories. I need to strip all empty directory entries in this file. Below is an example of the file contents:
Filname is filelist.txt
I'm trying in vain to remove all lines ending with the / char. Note there could be any number of lines ending with / and they could be anywhere in the file.
Any wisdom will be greatly appreciated.