|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Replace new line
Hi
What is the sed command to replace new line with a tab and newline in a file of multiple lines. Thanks Sachin |
|
#2
|
|||
|
|||
|
So in other words, you want to append a tab to the end of each line? That is:
sed 's/$/<TAB>/' < file And, of course, where I show <TAB> you actually have to type the tab key. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Replace new line |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|