Search Results

Search: Posts Made By: rprasad
13,406
Posted By rprasad
Does not seem to work
Depending on the shell you use the TMOUT variable may help too:
TMOUT=60 read input
13,406
Posted By rprasad
Can you please give me an example ?
I am using AIX Server 1 6 00C5647F4C00
13,406
Posted By rprasad
read -t always returns bad options
As mentioned previously
read -t returns bad options.
Kindly suggest some alternate.
13,406
Posted By rprasad
Read timeout
I saw several thread for this issue but none addresses my issue.
I have tried read -t but the result is read bad options
My requirement is
1. Ask for input
2. If input = y or no input in 60...
9,703
Posted By rprasad
Wow, this worked. Thank you !!
If you want to do it without a makefile:

#!/bin/sh

if [ "$#" -gt 0 ]
then
X="$1"
elif [ -f lastfile ]
then
read X < lastfile
fi

[ -z "$X" ] && X=1

R=1

while [...
9,703
Posted By rprasad
@Dave Yes, this is exactly what I am looking...
@Dave
Yes, this is exactly what I am looking for.

@Coronoa...thank you again.
The log file is created no matter what , whether the command is successful or not.
How do I tell the program to...
9,703
Posted By rprasad
Thank you for the response. I was reading...
Thank you for the response.
I was reading about makefile and it seems to me it is about compiling a program.
Probably I wasn't clear with my requirements.
I have a master file X.sh which calls...
9,703
Posted By rprasad
@Corona688 Thank you for the response. Yes...
@Corona688
Thank you for the response.
Yes each command like the one below
./sqr.ksh axpyi035_sf axpyi035_sf.par $1 $2 XHRPPYA4;
creates a log file. So if a command aborts, it gets written to...
9,703
Posted By rprasad
Resume from last failed command
Dear Experts,

I am creating a shell script (A) which is menu driven and in turn calls another shell scripts (X) depending on the selection. X has a list of commands which runs batch jobs in auto...
Showing results 1 to 9 of 9

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