10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Please i have this command i used to zip different files in differents directory, but i have an error. Note that when i run the command in one directory it works fine.
/X5/WORK/BGH/INV/REG/pdf/SEND/BGH24523/1/*.fo... (3 Replies)
Discussion started by: gillesi
2. Shell Programming and Scripting
Hello every one!!
I don't know where I am going wrong but I am finding it difficult to clear this error of syntax error near unexpected token `else'
I am writing a simple shell script to find a file in a directory and if found execute that else return an error to the log file
... (14 Replies)
Discussion started by: masubram
3. Shell Programming and Scripting
I have a simple script that doesn't work somehow. I can't seem to be spotting the cause of the malfunction.
for item in `cat test1.txt`
printf %s `sed -n $((count))p test2.txt` > test3.txt
I get ;
./why.sh: line 3:... (14 Replies)
Discussion started by: y33t
4. Shell Programming and Scripting
I try to write a bash code and I am using command substitution. My code is like:
SSH="/usr/bin/ssh... (7 Replies)
Discussion started by: Meacham12
5. Shell Programming and Scripting
I am trying to read the session log through script. But it keeps showing me some error near. I have tried everything. Even tried converting the script using sed command to remove the hidden characters(\r).But nothing seems to be working.Below is the script :
cd... (6 Replies)
Discussion started by: Aryan12345
6. Shell Programming and Scripting
first of all I thought the argument DONE is necessary for all scripts that have or begin with do statements which I have on my script, However, I still don't completely understand why I am receiving an error I tried adding another done argument statement but didn't do any good.
I appreciate... (3 Replies)
Discussion started by: wolf@=NK
7. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
line 37: syntax error near unexpected token 'else'
line 37: ' else'
the script is made to take 1 or 2 command line arguments however i get the above stated error when trying to process it. This happens with or without arguments... (6 Replies)
Discussion started by: Ren_kun
8. UNIX for Advanced & Expert Users
I am running the following script through cygwin and getting below mentioned error.
... (2 Replies)
Discussion started by: MandyR
9. Shell Programming and Scripting
This is an output of my script errored out for "Syntax error near unexpected token `(' " Can someone tell me whats wrong with my script.
Below is my original script pasted.
Script Creation Date 01/21/2010
... (7 Replies)
Discussion started by: raghunsi
10. UNIX Desktop Questions & Answers
I've used UNIX in the past experimenting with commands through terminal but thats about it. Im now currently teaching myself "C".
Using a book from the library, the first chapter asks you run and compile your program from a command-line prompt. As you will see the program is very simple,... (4 Replies)
Discussion started by: camzio