將a.txt裡面的xxx取代成yyy,存到b.txt
sed 's/xxx/yyy/g' a.txt > b.txt
取代行首
sed 's/^/yyy/g' a.txt > b.txt
取代行末
sed 's/$/yyy/g' a.txt > b.txt
....simple life
sed 's/xxx/yyy/g' a.txt > b.txt
sed 's/^/yyy/g' a.txt > b.txt
sed 's/$/yyy/g' a.txt > b.txt
2009 All Rights Reserved All About My Life.
Blogger Templates created by Deluxe Templates • Wordpress designed by Acosmin
0 comments:
Post a Comment