I have a txt file containing names of files, but they have the address appended to them, which I don't want.
eg.
/path1/file1.dat
/path2/file2.dat
etc.
what is the easiest way to remove the path from all the filenames in the last?
I don't think that "basename" would be very easy to implement is it only takes on operand at a time.
