Hi everyone, I am in a pickle.
I need to isolate an element of each line.
I have data that looks like this:
about+n+n-talk-n
about+ns+ns-talk-n
about+ns+n-talk-n
about+ns+v-say-v
as+n-a-j+vp-look-v
as+ns+v-come-v
as+ns+vn-list-v
and I need to isolate all the characterts until the FIRST "+"
so the ideal output would be as follows:
about n+n-talk-n
about ns+ns-talk-n
about ns+n-talk-n
about ns+v-say-v
as n-a-j+vp-look-v
as ns+v-come-v
as ns+vn-list-v
I used a similar code for awk but am at a loss to adapt it.
Can anyone help?
Thank you!