|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
find and remove
Hi,
Want to cycle through each single in a directory, remove all lines not containing |, write the ouput in a new and overwrite the old file with the new one. I have this code: Code:
files=`find . -print | sort` for myfile in $files; do grep '|' $myfile > $OutFILE mv -f $OutFILE $myfile done but I am getting the following problems:
Could someone please give an idea? Cheers, monaL |
|
#2
|
|||
|
|||
|
LOL This question is crossposted: linux forum and here.
Look at the linux forum, just posted your answer there. |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > find and remove |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|