[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

75.0. "Help in executing EDIT in Batch" by COIN::WARD () Thu Aug 07 1986 14:24

        I'm using  EDIT to  join two lines  [:2CL//].  The first line is
        the  Execute command  and  the  second line  contains  parameter
        names/values. 

        Running interactively from the  terminal is no problem.  How can
        an  EDIT  session be run from a command file?  When I attempt it
        in a command file - using Execute; the  first command  causes an 
        error and then waits for input from the terminal. 


        P.S.  I don't want anything but AMIGA-DOS commands to accomplish
              this.   Any  hints  on  running  EDIT  in  a  "batch like"
              environment would be appreciated.
T.RTitleUserPersonal
Name
DateLines
75.1Just a suggestion.ANT::SMCAFEESteve McAfeeThu Aug 07 1986 14:5011
    
    I have never tried this but I would suggest trying to redirect the
    input on the edit command.  E.G.  "EDIT <edit-command-file"
    
    If Amigados is consistent, then this sould look for edit commands
    in the file "edit-command-file".
    
    Good Luck,
    
    Steve McAfee
    
75.2CYBORG::LAMBERTMax Headroom....Catch the wave...Thu Aug 07 1986 16:354
    Although I don't know how to do it, it sounds like you need to tell
    AmigaDOS to look for command input elsewhere.  
                     
    brian
75.3closureCOIN::WARDFri Aug 08 1986 14:284
    Author of 75.0
    
    Thanks for assist!  I've finally got the thing working using the
    EDIT blah.blah WITH edit_command_file.