10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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 seconds
then continue processing
else
exit
fi
Kindly consider this urgent. (8 Replies)
Discussion started by: rprasad
8 Replies
2. UNIX for Advanced & Expert Users
i'm writing some code to simulate the boot progress after power on
but when i try to read the 2nd sector from a floppy disk, this operation always fail with ah=0x80h which means timeout, how can i get over this problem?
my code would be like this:
$ cat boot.S
.code16
#define SETUPLEN 4... (0 Replies)
Discussion started by: wljackhero
0 Replies
3. Linux
i'm writing some code to simulate the boot progress after power on
but when i try to read the 2nd sector from a floppy disk, this operation always fail with ah=0x80h which means timeout, how can i get over this problem?
my code would be like this:
$ cat boot.S
.code16
#define SETUPLEN 4... (0 Replies)
Discussion started by: wljackhero
0 Replies
4. Boot Loaders
i'm writing some code to simulate the boot progress after power on
but when i try to read the 2nd sector from a floppy disk, this operation always fail with ah=0x80h which means timeout, how can i get over this problem?
my code would be like this:
$ cat boot.S
.code16
#define SETUPLEN 4... (0 Replies)
Discussion started by: wljackhero
0 Replies
5. Shell Programming and Scripting
I'm a fairly new AIX admin (disclaimer).
We have SQL scripts written by end users that use a userid and passwd to connect to our DB2 database.
Is it possible to create an "input file" that contains the db2 connect parameters and yet secure the file from the SQL creator?
i.e., they can "use"... (2 Replies)
Discussion started by: mpheine
2 Replies
6. Shell Programming and Scripting
Hello gurus, this is part of my script:
ls -1 ${MyFile} >> ${dir_log}ListFile${Now}.tmp
FILENUM=`cat ${dir_log}ListFile${Now}.tmp| wc -l | awk '{print $1}'`>> /dev/null
if
then
writeError "ERRORE: no file in directory for type ${FileName}!" >> ${LogFileName}
Close 1
fi... (7 Replies)
Discussion started by: GERMANICO
7 Replies
7. Shell Programming and Scripting
Hi All,
Does anyone know how to read multiple lines from standard input into an array and then iterate a loop for all the lines read. Below is an example pseudocode:
I need the below filenames to be read by the script into an array or something similar:
And then in the script, I... (9 Replies)
Discussion started by: bharath.gct
9 Replies
8. Programming
Hello all
Im using CC: Sun C++ 5.6 2004/07/15 and using the -library=stlport4 when linkning im getting
The fallowing error :
Undefined first referenced
symbol in file
std::ostream &std::ostream::operator<<(std::ios_base&(*)(std::ios_base&))... (0 Replies)
Discussion started by: umen
0 Replies
9. Shell Programming and Scripting
Hi
I want both standard output and standard error of my command cmd to go to the same file log.txt. please let me know the best commandline to do this.
Thanks (2 Replies)
Discussion started by: 0ktalmagik
2 Replies
10. Shell Programming and Scripting
any idea on how to timeout the read statement for ksh?
for bash u can use read -t option
-t timeout
Cause read to time out and return failure if a complete
line of input is not read within timeout seconds. This
option has ... (2 Replies)
Discussion started by: ashterix
2 Replies