I need to extract the characters before the character '('. My file structure is:
rose(good)ook
daisy()no
lilly(bad)fine
sunflower()nice
I need output file as in the form of:
rose
daisy
lilly
sunflower
can anybody tell the command for this.....
awk, grep or sed are preferable...