Re: grep shell script mit variablem Suchmuster

Ferdinand Ihringer <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hallo, 

 Am Freitag 24 Juni 2005 14:05 schrieb Christof Janssen:
> hallo,
>
> leider tritt in der Zeile
>
> ret=`grep -c "DP  - $i" textdatei`;

man bash

Das wird als Befehl ausgewertet. Du suchst Funktionen. Deren Syntax steht in 
"man bash".

Ferdinand

-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.