Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: robinson@fang.dsto.defence.gov.au (Greg Robinson)
Subject: tr problem?
Date: 1996/07/10	[thread overview]
Message-ID: <4rvc34$n6l@fang.dsto.defence.gov.au> (raw)


hi,

Can anyone make tr work with the following input?

./qfKAA12670
./qfKAA14036
./qfJAA06816
./qfKAA14029
./qfJAA08041
./qfKAA13145

I want to replace the qf with ?? so it removes the header file, body file
and status file.  ie. qf, df and xf files...

I am using the tr line thus:

tr -s 'a-z' '[??*]' < filename

This doesnt NOT work!

BUT, if the file is:

./dfKAA12670
./dfKAA14036
./dfJAA06816
./dfKAA14029
./dfJAA08041
./dfKAA13145

It does work!

It's for clearing out a mail from the mail spool after a storm... *sigh*

Thankx!

Greg.

-- 
Work: greg.robinson@dsto.defence.gov.au
Home: greg@arrakis.satech.net.au



             reply	other threads:[~1996-07-10  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-10  4:00 Greg Robinson [this message]
1996-07-10  4:00 ` tr problem? John Hascall
1996-07-11  4:00 ` Steffen Kluge
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox