Does anyone know how to put the <enter> key in Bourne Shell?

I have a utility that need to hit the enter key to get updates.  I want to run this utility in a script then hit enter every 60 sec.  
vctsangAsked:
Who is Participating?
 
ahoffmannConnect With a Mentor Commented:
#! /usr/bin/expect
open "/path/to/application"
while {1==1} {
  send "\n"
  sleep 60
}
0
 
ecwCommented:
while sleep 60 ; do echo ; done | script
0
 
vctsangAuthor Commented:
Thanks for the info.  The C utility I have for an application it will prompt you to hit ENTER from standard input from the terminal to run it.  I want to know if we can put the ENTER key in a script and run it every 60 secondes. Thanks,  -Vin
0
 
tfewsterCommented:
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- Answered by ahoffmann

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0
All Courses

From novice to tech pro — start learning today.