HP3000-L Archives

June 2001, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Shahan, Ray" <[log in to unmask]>
Reply To:
Shahan, Ray
Date:
Wed, 27 Jun 2001 07:08:40 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
For quick and dirty:

LISTF FILE.GROUP.ACCT > TEMP
QEDIT
T TEMP
D "~" (PATTERN)                                 <<Get rid of blank line>>
d"filename"                                             <<Get rid of LISTF
filename header>>
CQ1"T ",ALL                                             <<Change column 1 to
TEXT>>
APQ";C\OLDPASS\NEWPASS\;K;Y",ALL                <<Append change oldpass to
newpass,
                                                            then keep the
file, and YES overwrite it>>
K TEMP


Now run QEDIT with the TEMP file as input:
QEDIT < TEMP

If all my syntax is correct, this should do the trick with minimal effort.
:-)


> -----Original Message-----
> From: Gordon Montgomery [SMTP:[log in to unmask]]
> Sent: Tuesday, June 26, 2001 4:46 PM
> To:   [log in to unmask]
> Subject:      Batch file changes
>
> I have a group of all our job files that have embedded passwords that
> I now have to change.  I'll have to make the same change again in about
> 6 weeks.  Is there a simple way of changing all 250+ files other than
> individually editing each one?  We use Robelle's Qedit, and the files
> are normal text files.
>
> Thanks.
>
>
> Gordon Montgomery
> Living Scriptures, Inc
> [log in to unmask]  (anti spam - replace lsi with livingscriptures)
> (801) 627-2000
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2