From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715811408.tru64-unix-managers.marc@archive.invalid> From: Willig Reimund Date: Wed, 01 Jul 1998 05:54:16 +0000 To: tru64-unix-managers Subject: SUMMARY:deleting parts of a textrow X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715811408 Hallo again, thank you all for your help. As usual there a many ways leading towards rome! here are some of them: 1. sed -e 's/(.*$//' output 2. cut -d"(" -f1 work > newfile 3. very nice answer from Serge Munhoven: sed -e 's/(.*$//' Where: - 's' =3D substitute - '/old/new/' =3D patterns for substitution - old=3D=3D'(.*$' =3D something starting with '(', followed by any = character '.', in fact as many as you like '*', up to the end of the line '$' (not required strictly) - new=3D=3D'' =3D nothing but anyway, thanks to all a lot! mit freundlichen Gr=FC=DFen Reimund Willig willig.reimund@gdr.de