Re: How to replace two strings in a file in the same time withsed command ?

2007-12-12 Thread Halid Faith
I tried it, but I get an error; cut: boby, e, 656a, No such file or directory cut: allen, e, 987c, No such file or directory ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: How to replace two strings in a file in the same time withsed command ?

2007-12-12 Thread Halid Faith
I tried it, but I get an error; cut: boby, e, 656a, No such file or directory cut: boby, e, 656a, No such file or directory cut: allen, e, 987c, No such file or directory cut: allen, e, 987c, No such file or directory ... here's my script for i in `cat file1` ; do sed -e s/old1/new1 `cut -d,