Search Results

Search: Posts Made By: 62583
1,546
Posted By 62583
ls fed into sed help
I am writing a file that will delete a line from all files in a directory.

sed "/#Text_to_be_deleted/d" #files_from_ls >tmp
mv tmp #files_from_ls

For some reason, whenever I test it, it will...
1,104
Posted By 62583
hey how could it be done if i wanted line of...
hey how could it be done if i wanted line of text to be deleted from all of those same files.
1,104
Posted By 62583
What goes in the {}'? ---------- Post...
What goes in the {}'?

---------- Post updated at 05:53 PM ---------- Previous update was at 05:39 PM ----------

.. nvm
1,104
Posted By 62583
Help with ls to input for simultaneous editing
I just registered today and started unix about a month ago.

I'm trying to make a script where I can add commands or text to the end of files in a listing.


$ echo "#text_or_command" >>...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 05:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy