; ; First execute the command: pip junk.tmp=*.*/br ; ; Then enter the editor and type the following: ; ; @example.cmd ;executes this file ; ; it will edit the junk.tmp file to generate ; the following: ; ; each line will first be triplicated ; then the 1st line will be line=line ; the 2nd line will be (line)=(line) ; The third line will be run line/prm="test" ; ; edit junk.tmp e junk.tmp ; set line numbering on and change s+c commands for an old edi user one ; delete lines 1 and 2 which are pip's directory line and a blank line 1,2d ; now make the triples ; this finds every line and copies it after current line (does it twice) g/./.k..k. ; now change each line of the three ; this finds every line ( the ".*" matches entire line) ; changes the first one it finds to line=line ; goes to the next line, changes it to (line)=(line) and removes ; it from the list of lines found during the scan ; then it goes to the next line and makes it run... ; g/.*/c//&=&/+c//(&)=(&)/+c//run &\\/prm="test"/ ; at the end of this command file the user would gain control ; except that we will do an exit for him. First we write the file ; out into the next higher version and echo the name for him. x f q