Date: Sun, 1 Feb 2004 01:38:44 +0000 From: Daniela <dgw@liwest.at> To: questions@freebsd.org Subject: OT: sed problem Message-ID: <200402010138.44102.dgw@liwest.at>
next in thread | raw e-mail | index | archive | help
I was wondering how I can do the following with sed (or another program): 1. Output only the text from the start of the line to the first pipe character 2. Output only the text between the last and the previous pipe character Or, split the line at the pipe characters and assign the parts to different shell variables. Regards, Daniela
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402010138.44102.dgw>