Search Results

Search: Posts Made By: bartleby
7,383
Posted By bartleby
How to replace string between delimiters?
Hello,
I would need to replace a delimiter in a flat file using.I would like to replace the semicolon (";") but only if it was contained in a string between quotes. For example:

Original flat...
1,501
Posted By bartleby
Hi Walter. Sorry, I haven't copied your command...
Hi Walter.
Sorry, I haven't copied your command properly. It works great.
Thanks a lot.
Regards.
1,501
Posted By bartleby
Hi Walter, Thank you very much for your...
Hi Walter,

Thank you very much for your quick reply.
I have tried with your code but I got the following:
<ID1>_<ID2>X01<ID2>.PDF

and I would need:
<ID1>_<ID2>_<DATE>_X01<ID2>.PDF

For...
1,501
Posted By bartleby
How to change a set of characters between delimiters?
Hi all,
I am trying to write a script for renaming some files and I can't understand how to replace a set of characters between delimiters with sed.
The current filename is:...
1,854
Posted By bartleby
Find command and regex
Hi All,
We have to copy some files from a source directory to a destination directory. We only have to copy the file if the filename is in a list of values.

We can use find command:

find ....
Showing results 1 to 5 of 5

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