10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a code:
if
then#{ process daily files
for file in *_${Today}*.csv *_${Today}*.txt
do
if ||
then
echo "This file will be processed in separate script"
continue
fi
if ;then
... (2 Replies)
Discussion started by: digioleg54
2 Replies
2. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies
3. Shell Programming and Scripting
Hi ULF,
Good day! Let's say I have an input file similar to this one below:
content-type 699
label SAMPLE1
pattern ip-address
host 10.10.10.10
host 12.12.12.12
end
udr
udr-type TEST
... (2 Replies)
Discussion started by: rymnd_12345
2 Replies
4. Shell Programming and Scripting
My purpose was to print out all of name of students in a list.First of all,I created a file name "List" in /home/tuan/Desktop/Shell_programming as below
Tom
Henry
Ben
Linda
Marry
And my script "script" is
#!/bin/sh
path=/home/tuan/Desktop/Shell_programming/List
for student in $path... (3 Replies)
Discussion started by: thungmail
3 Replies
5. UNIX for Dummies Questions & Answers
I need anwser to this qestion!
I havewirte a script that
provides line numbered contents of a file
which must make use of the following
control structures
files
Command line arguments
I am a complete new commer to unix and bourne shell scripting
can any one help (1 Reply)
Discussion started by: migg-21
1 Replies
6. Shell Programming and Scripting
I need to perform two separate commands as part of the -exec section of a find command. Is this possible? (1 Reply)
Discussion started by: marshaferry
1 Replies
7. Shell Programming and Scripting
I want notes for learning Shell programming (2 Replies)
Discussion started by: Neha Agarwal
2 Replies
8. UNIX for Dummies Questions & Answers
I'm working on writing my very first borne shell program and I need some help. I think I'm pretty close to having this correct but I may be off. I think my actual program is coded correctly but the commands I use within it I think are what's throwing it off?
**Purpose of the program: To... (3 Replies)
Discussion started by: FuzzyNips
3 Replies
9. Shell Programming and Scripting
Hello -
I've serached the web but can't find much on array script variables (except that C-shell variables are arrays!)
I'm trying to form a 2-D string array: (this is what I want, but in java)
String list = { {"one", "two"}, {"three"} };
I know this is a 1-D string array shell... (4 Replies)
Discussion started by: jparker
4 Replies
10. UNIX for Dummies Questions & Answers
Just want to know a few conversion tricks.
in Borne Shell, I have the line:
if test -s testmap
then
...
fi
## testmap is a filename and I wanna test whether it exists
## then do whatever
How can I convert that to C Shell?
I've tried:
if (test -s testmap) then
...
endif
but it... (3 Replies)
Discussion started by: zenkisoft
3 Replies