;Note!!! if you don't have spawning in your system the below won't work.
; First execute the command: pip junk.tmp=*.*/br
!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"/
; Note the `\' preceding the `/' ^  <- right there; it allows the
; entry of the delimiting character as text rather than the end of the
; string. In previous versions of this editor, any `\'s found in a global
; would be eliminated (1 level) during the first part of the g command.
; This is no longer the case. (If you're a new user ignore this statement).
; 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.
; (first lets insert a message and echo it to the user)
1i
You should get the following:
            file=file
            (file)=(file)
            run file /prm="file"
.
; print lines 1 to 4 which is the message above.
1,4p
; now delete the above
1,4d
;now print lines 1 thru 3
1,3
x
; purge the file and list deletions
!pip junk.tmp/pu/ld
f
q
