I have another question please, if i want to insert 2 line or plus? how can i do it?
result :
------------------
tttt
tttt
new line1 test test
new line2 test test
new line3 test test
::
ffff
fffff
---------------------
Hi everybody,
I have a file witch i want to edit. I want to insert new line just before a constante (::). Here is the content of the file :
------------------
tttt
tttt
::
ffff
fffff
---------------------
Here is the result i want using script shell ksh
------------------
tttt
tttt
new line...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.