On Wednesday 25 May 2005 16:45, Bogdan Botez wrote:
> On 5/25/05, Mihai Patru <[EMAIL PROTECTED]> wrote:
> <snip>
>
> Dupa cum mai zicea cineva, expresiile regulate trebuiesc implementate
> de cineva/ceva ca se le poti folosi. El a dat exemplul cu awk.
> In bash nu stiu cum s-ar putea face, desi nu m-ar mira.

Proof of concept:

OLDIFS="$IFS"
IFS=":"
echo "$output" | 
  while read line; do 
    set -- $line
    [ $1 -gt $2 ] && echo $line
  done
IFS="$OLD_IFS"


Mihai

PS: In bash nu te ajuta expresiile regulate la asta.


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/


--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui