|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need sed help
I need to write the sed command to delete each instance of the word orange from a file named fruit. and redirect the output to a file named fruit1 please help me using Unix commands
|
|
#2
|
||||
|
||||
|
Try:
Code:
sed 's/orange//g' inputfile > outputfile |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Need sed help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|