[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: sed - regex Problem



On Thu, Nov 13, 2003 at 01:41:09PM +0100, Lars Weissflog wrote:
[...]
sed s/\(\/home\/michel\/thesis\)/./g testfile.tex > testfile.tex.neu
[...]

fernst@live:~$ cat alt
(/home/michael/thesis/irgendwas)
fernst@live:~$ sed -e 's|/home/michael/thesis|.|g' alt
(./irgendwas)

HTH,
Flo

Attachment: pgpzYH_AyTdDP.pgp
Description: PGP signature


Reply to: