Monday, August 2, 2010

sed的i

給未來的裕翔

請看以下

sed 's/^cat$/dog/i' filename

那個i

不是inform

而是ignore case

No comments:

Post a Comment