![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Deleting lines in text file | hern14 | UNIX for Dummies Questions & Answers | 5 | 05-16-2008 12:03 PM |
| deleting lines from multiple text files | vrms | Shell Programming and Scripting | 3 | 04-25-2008 08:01 AM |
| c program to extract text between two delimiters from some text file | kukretiabhi13 | High Level Programming | 5 | 01-22-2008 02:42 AM |
| Deleting text block in file | andre123 | Shell Programming and Scripting | 1 | 02-27-2007 10:17 AM |
| grep multiple text files in folder into 1 text file? | coppertone | UNIX for Dummies Questions & Answers | 7 | 08-23-2002 11:50 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Deleting text from a file
Hi,
In my korn shell script, I want to delete some particular text from a certain file...How can this be done? Is the below right? ed $NAMES << EOF echo "" > /dev/null echo "${x} = " > /dev/null echo "name = " > /dev/null echo "adress = " > /dev/null w q EOF |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
what is the portion that you want to delete from the file?
Always a sample input and sample output posted would be of great help rather than directly giving the solution that you had tried. |
|||
| Google The UNIX and Linux Forums |