Thank you very much. The script work now.
One last question to the case-command. If i've more command's accourding to one case, what is the best way to handle this, or is it enough to end with ;; ?
pattern)command
command
command
command;;
Thnk you very much. That helped my a lot. But now I#ve the problem that a read command after the pattern is ignored (No errormessage) Does one know wy ?
#!/bin/bash
f [ $# = 0 ]
then echo ERROR: Usage is : $0 filename
exit 1
fi
#read the file line by line
count=0
while read line
do...
Hallo,
I've the Problem to substitute a awk-scribt with a shell script.( On my AIX-Systems I've only the old version of awk, no nawk).
I have a file like this:
///MIF-File
Start Component
Name = "My Workstation Template"
Description = "Sample MIF Template"
Start Group...
Hallo, I'm new in this form and I',m starting using awk for scripting.
I've a problem with a script within Suse Linux/AIX.
Using the following script to give out Names and according values. It should be possible to change the values and write it back to the outputfile. But on a AIX-System the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.