Sed - insert character between tag
On Tue, 2009-12-15 at 18:22 -0200, Bruno Galindro da Costa wrote:
> Hi all!
>
> I have a text file with this content:
>
> VAR_1="xyz "abcd" fgh"
>
> Using sed, how can I insert a backslash before the two quotes between
> the first and last quote?
>
> e.g.: VAR_1="xyz "abcd" fgh"
>
> --
> Att.
> Bruno Galindro da Costa
> bruno.galindro@gmail.com
maybe try this:
perl -p -i -e 's/"abcd"/"abcd"/g' *.txt
--
Best,
Jozsef Kurucity | Web & Graphic Designer
+971 50 6783113 | jzfk9@aol.com
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|