Hi,
heres my problem:
echo "aaaa(aaaa(aaa" | sed 's/a.*(//g'
gives aaa
but it should give aaaa(aaa
.*( should find any string to the appearance of (, but it finds any string to the last appearance, any idea why, and how to do this?
and what if the string ist
aaaa(aaaa(aaaa(aaa and i want to replace it to the second appearance
this is just a small example, but I hope it's clear what I mean
cheers
funksen