I have a sequence of such <Disp> tags in my file, I want to add the Disp tag with name grapes above the disp tag of orange. This is the case for all 100 files.
The orange tag may present anywhere in the file.
I am seeing for a script which inserts the 3 lines of the grapes tag above the orange tag.
in GNU/Linux work fine, now i probe in HP-UX and i got the same result, command print n...
is like in this part of the argument the comand don't interpret \n....
---------- Post updated at 11:46 AM ---------- Previous update was at 11:30 AM ----------
i try to escape de \n in all forms that i know but with the same result...
i find a solution in Internet, i don't like so much but it work fine un UNIX plataform.You need to write the script exactly like i put: