skip to main
|
skip to sidebar
Hello World
For thoughts, for sharing...
Monday, December 7, 2009
sed in Linux
1- say for example, in Shell programming, you want to append some variable at the string end, this wont work - sed 's/$/$temp/'
what we can do is use two sed's - sed -e 's/$/dummy/' | sed "/dummy/$temp/".
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
My Links
Chinese Politics and Political Economy
Financial Times
WSJ
谢国忠
Michael Pettis
Marc Faber
Man in Central
Blog Archive
►
2013
(1)
►
June
(1)
►
2011
(18)
►
October
(1)
►
September
(3)
►
August
(1)
►
June
(1)
►
May
(1)
►
February
(1)
►
January
(10)
►
2010
(8)
►
December
(1)
►
October
(1)
►
August
(1)
►
March
(1)
►
February
(1)
►
January
(3)
▼
2009
(26)
▼
December
(5)
Beta
sed in Linux
Revolutionary Road
FIX Learning Notes (3)
Perl Points
►
November
(17)
►
October
(4)
►
2008
(3)
►
March
(1)
►
January
(2)
►
2007
(20)
►
December
(4)
►
November
(14)
►
October
(1)
►
February
(1)
Programming
Python Tutorial
C/C++ Reference
Tech Tips
Tech-Bits - vi
Statistics
No comments:
Post a Comment