🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #3327

Re: Yet another vi question

#3327
From: Another Technical Editor
Date: Fri, 23 Sep 1988 12:35
17 lines
1035 bytes
In article <260@tijc02.UUCP>, djm408@tijc02.UUCP (David Marks         ) writes:
> How does one enter vi to edit a particular file, and upon entry pull
> in a template to use as a fill in the blank form? (etc. etc.)

Write a small shell program:

cp template.rep $1;vi $1

and use this program instead of spelunking through vi's feature set. 

> David J. Marks                     |    ...!mcnc!rti!tijc02!djm408

Roger Tait                             ..att!homxc!roger
AT&T Bell Labs Technical Publications        Holmdel, NJ

(-; (-; "Where never is heard a discouraging word,
         and the skies are not cloudy all day." :-) :-)
Technical Details
Message-ID: <3509@homxc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!att!whuts!homxb!homxc!roger
References: <260@tijc02.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!att!whuts!homxb!homxc!roger
From: roger@homxc.UUCP (Another Technical Editor)
Newsgroups: comp.editors
Subject: Re: Yet another vi question
Summary: Try cp and shell
Message-ID: <3509@homxc.UUCP>
Date: 23 Sep 88 12:35:02 GMT
References: <260@tijc02.UUCP>
Organization: Somewhere In Jersey
Lines: 17