Search Results

Search: Posts Made By: Nigel_R
2,391
Posted By Nigel_R
Thanks - I'm reading the sed pages at grymoire at...
Thanks - I'm reading the sed pages at grymoire at the moment, and having a play with your sed to try and gain a better understanding.

If the text varies, however, it fails:

#limerick There...
2,391
Posted By Nigel_R
Thanks for taking the trouble to reply zaxxon,...
Thanks for taking the trouble to reply zaxxon, but I was really hoping to use sed rather than awk.

Michael, many thanks to you too - this works like a charm. Any chance of an explanation or...
2,391
Posted By Nigel_R
Sed - using value returned by W+
Hi,
In a file old.txt containing (for example) a series..

#limerick There was a young lady from Nantucket..
\images\Blank.jpg
:end
#joke A horse walked into a bar...
\images\Blank.jpg
end
...
3,762
Posted By Nigel_R
Sorted it! I found the solution at...
Sorted it!

I found the solution at launchpad.net:



adding the -r switch to my original code gave the working solution

Thanks for your time and help.

Nigel
3,762
Posted By Nigel_R
Hi Due to the limitations of the windows...
Hi

Due to the limitations of the windows version needing double quotes I substituted:
echo username@domain.org.uk | sed -n "s|[^ ]*@[^ ]*|<A HREF=\"mailto:&\">&</A>|gp"

This returned sed: -e...
3,762
Posted By Nigel_R
Hi, Thanks for your quick response. mail...
Hi,
Thanks for your quick response.
mail addresses will be from domains such as domain.co.uk, domain.org.uk domain.com.
users could be name@ or firstname.lastname@. it is unlikely that anyone...
3,762
Posted By Nigel_R
SED - Create mailto: link
Help!
I am using sed to convert text files into easily viewed html tables.
I have managed all except converting the email addresses to mailto: links.
Multiple email addresses exist within the...
Showing results 1 to 7 of 7

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