Search Results

Search: Posts Made By: 100Rab
2,229
Posted By 100Rab
Help needed with sed
Thanks to you guys! My script is working as expected now.

Cheers!:b:
2,229
Posted By 100Rab
Help needed with sed
Thanks for replying Colemar but I still get parsing error.This is the code:

while read -r filepattern
do
echo "$filepattern" | sed 's/\.\*/$(date +%Y%m%d)'

...
2,229
Posted By 100Rab
Help needed with sed
Can someone please help me correctly frame the below sed command:

sed 's/.*/$(date +%Y%m%d)' filepattern

I have read a line of the file in filepattern variable which is like below:
...
Showing results 1 to 3 of 3

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