9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I've been out of programming for awhile so sorry about the stupid, elementary question.
I'm trying to read two inputs and compare them to a list entered as a parameter via the terminal. The script is
#!/bin/bash
read -p "Enter the numbers" NUM1 NUM2
for VALUE in $@; do
... (6 Replies)
Discussion started by: EnduranceMan
6 Replies
2. Shell Programming and Scripting
I getting error as test1.sh: syntax error at line 3: `do' unexpected while i was trying to run below code..
What was going wrong here?
find /usr/tmp/SB/reports/ -type f -name *.rdf |read file;do
echo "Copying $file to /usr/tmp/SB1"
done (1 Reply)
Discussion started by: millan
1 Replies
3. SCO
Hello...
i got an error in my SCO OpenServer 6. the error is:
msgcnt 1 vxfs: mesg 016: vx_ilisterr - / file system error reading inode 373
Can anyone help me? (1 Reply)
Discussion started by: AndryMB
1 Replies
4. UNIX for Advanced & Expert Users
Hi - I am getting the error
`Error reading response length from authentication socket'
when I ssh from my cluster to another cluster, and then back to my cluster. It doesn't seem to affect anything, but it's just annoying that it always pops up and tends to confuse new users of the cluster. I... (1 Reply)
Discussion started by: cpp6f
1 Replies
5. HP-UX
I receive an error while installing Oracle 9i:
Error in invoking target install of makefile
/opt/oracle/product/9.2.0/sqlplus/lib/ins_sqlplus.mk
Furthermore:
$ whoami
oracle
$ echo $ORACLE_HOME
/opt/oracle/product/9.2.0
$ pwd
/opt/oracle/product/9.2.0/sqlplus/lib
$ ll
total... (5 Replies)
Discussion started by: chris2005
5 Replies
6. Programming
void redirect(int argc, char *argv)
{
int flag;
if (strcmp(argv, ">") == 0)
flag = 1;
else if (strcmp(argv, "<") == 0)
flag = 2;
else if (strcmp(argv, ">>") == 0)
flag = 3;
else
printf("Something Wrong,Please Check!\n");
switch (flag) {... (5 Replies)
Discussion started by: zhshqzyc
5 Replies
7. Shell Programming and Scripting
I have a script that reads a file then moves all the files that are listed within that file.
So read file A then copy all files that are listed within.
I have the script append a log everytime a file is moved.
My issue is that it's appending the log even though the file was not found.
... (3 Replies)
Discussion started by: whegra
3 Replies
8. UNIX for Dummies Questions & Answers
I have been attempting to read a DLT tape, but encountered problems. I have applied patches from SUN that 'resolve' known problems with tape reading etc...but still the error!
Techsupport reckon that the data/tape is corrupt. I would like to think they aren't.
Are there any issues with... (10 Replies)
Discussion started by: colesy
10 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I am attempting to read tar images from a DLT tape, and have recieved an error, which i don't know:
tar: blocksize = 8
tar: directory checksum error
I have been able to read from other tapes, using the same command (tar -tvf /devicename) but this time i have an... (3 Replies)
Discussion started by: colesy
3 Replies