Re: Problem with positional output
"Michelle Konzack [email protected] [sed-users]" <[email protected]> Mon, 14 Nov 2016 21:35:38 +0100
| Newsgroups | gmane.editors.sed.user |
|---|---|
| Message-ID | <[email protected]> |
Good evening (or whatelse), On 2016-11-14 15:20:32 Sven Guckes [email protected] [sed-users] hacked into the keyboard: > hmm.. > so you basically want just the bginning of the data > and discard everything from the first pipe sign? Not realy, because I need to seperate theoutput of "zenity" which return VAL1|VAL2|VAL3 > an example would be nice to see whether > we are talking about the same thing. ;) LINK="$(echo ${RETURN} |sed 's!\(.*\)|\(.*\)|\(.*\)!\1!')" FNAME="$(echo ${RETURN} |sed 's!\(.*\)|\(.*\)|\(.*\)!\2!')" DIR="$(echo ${RETURN} |sed 's!\(.*\)|\(.*\)|\(.*\)!\3!')" Which is now working fine. Happy sed'ing -- Michelle Konzack ITSystems GNU/Linux Developer 0033-6-61925193