Find the answer to your Linux question:
Results 1 to 2 of 2
I have an executable file "a.out" . This will print some inforamtion and pause . Ask user "whether to continue " . user has to give y or n option ...
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    24

    [SOLVED] bourne shell scripting ..input ..

    I have an executable file "a.out" . This will print some inforamtion and pause . Ask user "whether to continue " . user has to give y or n option .

    I want to run a.out file inside bourne shell script .




    .How can i give the option 'y' before i execute script .

    regards.

  2. #2
    Just Joined!
    Join Date
    Jul 2008
    Posts
    24
    i tried

    a.out << hello
    y
    hello


    Bt its not working for me in my linux embeded box ..any other way of ding >

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...