I have a task to do using Sed command, which is the following:
I am doing ls to file names >> test.txt ( to print directories name to a txt file )
I want to remove the extension of the files from the txt file.
So I want to use sed to perform such thing
Like if I have in the txt file the following file name : standalone_app.png
I want it to be : standalone_app
@fnasser,
I see you had a number of recent threads with the sed-based solutions you accepted as "Solved".
It should be relatively easy to come up with at least a rough skeleton.
Have you tried anything on your own?