Search Results

Search: Posts Made By: erwinspeybroeck
13,109
Posted By erwinspeybroeck
automate input
Hello, thanks for your time, but still no solution

when i try

program << eof >> $result 2>&1
answer1
eof

the program just sits waiting. When i type the answer1-string myself, everything...
13,109
Posted By erwinspeybroeck
automate input
I'm not sure that i really understand what you're talking about.
i tried

program &lt< eof &gt> $result 2>&1 << blahblah

but i'm getting that the string is not the correct phrase.
13,109
Posted By erwinspeybroeck
automate the input
:(

I tried a lot of things.

When i start quoting i always get messages of command not found. I treid normal single quote ', double quote " and single right quote ` and single left quote ´....
13,109
Posted By erwinspeybroeck
automate the input in a script
I have a program that i have to run by cron. The program needs user input. So i have to automate that in a littke script.

start of script program.sh:

result=program.log; export result
echo...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 06:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy