Need help with user command
Fairlight
fairlite at fairlite.com
Fri Jun 27 20:17:57 PDT 2014
Which is -exactly- what I told you earlier needed to be done. :)
m->
On Fri, Jun 27, 2014 at 09:50:48PM -0500, Paul thus spoke:
> Maybe this explanation will help someone who is looking at USER
> the way I was.
>
> USER track=/usr/bin/gotrack001
> track=@rn 'sends script @rn via STDIN
> tracknum=track 'returns tracknum via STDOUT
>
> gotrack001 script has:
> read tracknum
>
> as one of the first lines.
>
> No one ever explained user to me this way in 30 years or 20 since user
> was included.
>
> ----------------------------------
> McNary
>
>
>
>
> On 6/27/2014 9:27 PM, Paul wrote:
> > I did get stdin to work with user
> > I will post an example for future reference
> >
> > McNary
> >
> >
> > On 6/27/2014 6:26 PM, Paul McNary wrote:
> >> On 6/27/2014 6:20 PM, Fairlight wrote:
> >>> As I recall it from memory, USER commands cannot be variable-oriented, and
> >>> must be static commands. You may need to either rewrite the target program
> >>> to accept the number as the first input line, or if that's not possible,
> >>> write a wrapper for the program which will fulfill that functionality.
> >>>
> >>> mark->
> >>>
> >>> On Fri, Jun 27, 2014 at 05:11:37PM -0500, Paul McNary thus spoke:
> >>>> I did this years ago and can not remember now.
> >>>>
> >>>> I can do:
> >>>> USER track=/usr/bin/gotrack001 10944
> >>>> This works fine.
> >>>> But I need to replace 10944 with @rn
> >> I thought what Faisal said was what I used but that produced garbage.
> >>
> >> USER track="/usr/bin/gotrack001"<@rn
> >>
> >>
> >> I know I did this with version 4.5 but I can find the source I had.
> >> It says in the manual that you can send argument with the syntax
> >> track=m
> >> track=n
> >> etc
> >>
> >> What is the proper sequence to do that?
> >>
> >> I can use system with temp files but that is making a mountain out of a
> >> mole hill.
> >>
> >> Thanks for your responses
> >> _______________________________________________
> >> Filepro-list mailing list
> >> Filepro-list at lists.celestial.com
> >> Subscribe/Unsubscribe/Subscription Changes
> >> http://mailman.celestial.com/mailman/listinfo/filepro-list
> >>
> >>
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > Subscribe/Unsubscribe/Subscription Changes
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
> >
> >
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
--
Audio panton, cogito singularis.
More information about the Filepro-list
mailing list