Microsoft
Software
Hardware
Network
Question : Why can't I insert line feeds using Sed in Solaris
cat inputfile | sed 's/Selectedtext/\nSelected
text/g'
I want to replace selected text with:
New line and then the selected text.
I get nSelected text as a result
I need this for work and am trying to do this now.
Solaris does not have the great tools that linux does.
Answer : Why can't I insert line feeds using Sed in Solaris
sed "s/SelectedText/\\`echo -e '\n\r'`SelectedText/g"
Random Solutions
Accessing Adobe PDF document properties with MS VBA programming
T-SQL for last date
SSIS - Extract from joining 2 derived tables with parameters.
Exchange 2007 Transition - Final cutover tasks
Printers not showing up in 'Printers and Faxes'
Where can i get an iso image of windows 2000 sp4
Exchange 2003 - Store disk activity
How do I create wildcards for folder names?
Scanpst.exe not working - 2GB problem
Cursor in SP, cursor not open error