Show More
@@ -977,7 +977,8 b' Trying to edit patch for whole file' | |||||
977 |
|
977 | |||
978 | Removing changes from patch |
|
978 | Removing changes from patch | |
979 |
|
979 | |||
980 |
$ sed |
|
980 | $ sed -e '3s/third/second/' -e '2s/will/will not/' -e 1d editedfile > tmp | |
|
981 | $ mv tmp editedfile | |||
981 | $ echo "This line has been added" >> editedfile |
|
982 | $ echo "This line has been added" >> editedfile | |
982 | $ cat > editor << '__EOF__' |
|
983 | $ cat > editor << '__EOF__' | |
983 | > #!/bin/sh |
|
984 | > #!/bin/sh |
General Comments 0
You need to be logged in to leave comments.
Login now