From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,e5cab0a42c76da9f,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,e5cab0a42c76da9f,start X-Google-Attributes: gidfee84,public From: snafu@expert.cc.purdue.edu (The Artist) Subject: grep to == vms search/window ?? Date: 1995/08/02 Message-ID: <3vormk$18g@expert.cc.purdue.edu>#1/1 X-Deja-AN: 107426027 organization: Purdue University newsgroups: comp.unix.osf.osf1,comp.unix.questions i'm running dec osf v3.2a i'm trying to make the grep command act similary to the vms *search foo.bar string/window=(3,3)*. and ideas? it would allow me to search the file foo.bar for the string *string*. then, if it finds it, it would display the line containing the string AND three lines directly above it, and three lines directly below it. any help? thanks snafu@ncnetv.pprd.abbott.com