10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Extremely new to Perl scripting, but need a quick fix without using TEXT::CSV
I need to read in a file, pass any delimiter as an argument, and convert it to bar delimited on the output. In addition, enclose fields within double quotes in case of any embedded delimiters.
Any help would... (2 Replies)
Discussion started by: JPB1977
2. Shell Programming and Scripting
Hi, I have an N number of files in a directory. I like to write a shell script that would make identical plots for each one of these files.
The files have names such as:
i.e. the... (4 Replies)
Discussion started by: lost.identity
3. Shell Programming and Scripting
Hi guys, i have an executable file that contains several records and fields. One of the records has a variable filed that must be changed each time i want to execute the file. Would it be possible that i can use a loop to change the value of that field? Suppose that the field address is:
Record... (5 Replies)
Discussion started by: saeed.soltani
4. Shell Programming and Scripting
I am trying to create an Expect script that does the following:
1) Telnets to an IP address and logs in with user ID and Password
2) Issue a CLI command to the server that will output data of which I am particularly interested in a DS1 clock 'Slips' value. I want to be able to keep issuing... (0 Replies)
Discussion started by: dwightlaidler
5. Shell Programming and Scripting
I need to do something like this:for I in var1 var2 var3 ; do
$I = "Something calculated inside the loop"
doneObviously it doesn't work...but is it possible doing that in other ways?
Thanks in advance. (6 Replies)
Discussion started by: canduc17
6. UNIX for Dummies Questions & Answers
Hello every one i have an script in sco unix 5.06 to take a long archive over MOD drive and this script contains many line to change destination to DVD anyone can help to me for change this script to take backup on DVD instead of MOD
the attached script LzaModBed.engl (1 Reply)
Discussion started by: kaydream
7. UNIX for Dummies Questions & Answers
i wrote a script which includes a couple of if-else loops but i have to change it to while-do loop as it is not allowed to use "break" in if-else loop in bash.
NUM=`find . -name ufsdump_output1.txt | xargs egrep "End-of-tape detected"`
if ; then echo "OK!"... (6 Replies)
Discussion started by: EAGL€
8. Shell Programming and Scripting
Hi, I have a file with the following data
-0.00000 0.00000 0.00000 F F F
0.00000 0.00000 0.80000 F F F
0.50000 0.50000 0.60000 F F F
0.50000 0.50000 0.20000 F F F
-0.00000 0.00000 0.40000 F F F
I would like to change the last 3 lines from F F F to T T T. I tried looping each line but don't... (5 Replies)
Discussion started by: princessotes
9. Shell Programming and Scripting
Hello all I hope someone can help me. I am trying to convert something I wrote in C to bash.
But how do I go about reading more than one item at a time in a for loop?
i have been using this format for the loops in the bash script i have been building.
for word in `cat -s... (4 Replies)
Discussion started by: Intense4200
10. Shell Programming and Scripting
My query is as below:
Am basically writing a parser script.
My input file has got some variables which are populated by the calling program.
I want to write a script that should give me... (4 Replies)
Discussion started by: jisha