Habe noch eine vergesserung:

>  ____ ( '/home/michelle/bin/find_and_replace' ) _______________________
> /
>|  #!/bin/bash
>|  
>|  for i in `find -type f -print` ; do

        # Überprüft, ob es wirklich eine Text-Datei ist
        file $i | grep "ASCII" >/dev/null 2/&1
        if [ $? ] ; then
 
>|      grep $1 $i >/dev/null 2>&1
>|      if [ $? == "0" ] ; then
>|          sed 's,$1,$2,g' $i.tmp
>|          mv $i.tmp $i
>|      fi

        fi

>|  done
> \______________________________________________________________________  
>
>>Herzlichen Dank für Euere Hilfe.
>>
>>Mit besten Grüßen
>>Manfred
>
>Greetings
>Michelle
>
>-- 
>Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
>Michelle Konzack   Apt. 917                  ICQ #328449886
>                   50, rue de Soultz         MSM LinuxMichi
>0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)


*************************************************************************
* Do not Cc: me, because I am on THIS list, if I write here             *
* Keine Cc: am mich senden, bin auf DIESER Liste wenn ich hier schreibe *
*************************************************************************

Hello, 


Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

Antwort per Email an