10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So I'm stumped.
First... APOLOGIES... my work is offline in an office that has zero internet connectivity, as required by our client. If need be, I could print out my script attempts and retype them here. But on the off chance... here goes.
I have a text file (file_source) of terms, each line... (3 Replies)
Discussion started by: Brusimm
3 Replies
2. UNIX for Dummies Questions & Answers
I have a text file containing some file names. And I've a directory containing files with different name. I want to do some operaration (deleting) on the files which are NOT listed on the text file.
Im using KSH.
PLEASE HELP !!!!!
Urgent Help!!!!! (2 Replies)
Discussion started by: maheshbabu
2 Replies
3. Shell Programming and Scripting
Hi,
I have an XMl file, below is sample:
<TRANSFORMATION DESCRIPTION ="Created by:- " NAME ="LKP_FT_T_FILEK" OBJECTVERSION ="1" REUSABLE ="YES" TYPE ="Lookup Procedure" VERSIONNUMBER ="1">
</TRANSFORMATION>
I need to read the tag, and if the tag is TRANSORMATION, i want to check the Type... (6 Replies)
Discussion started by: kedar_laveti
6 Replies
4. Shell Programming and Scripting
We're using a ksh script for installing one product.
I've another config file, I'd need to read this configuration file from my main script
Content of the Configuration file:... (2 Replies)
Discussion started by: bittu129
2 Replies
5. Shell Programming and Scripting
hello all, I am trying to read the value of a concatenation, the following code is displaying
$word1
$word2
I want to display
village
home
Thanks
for (( i=1; i<=2; i++ ))
do
word1='village'
word2='home'
con="$"word"$i"
echo $con
done (5 Replies)
Discussion started by: wydadi
5 Replies
6. Shell Programming and Scripting
hi all,
i create 1 file.txt and inside it contain :
file1
file2
file3
file 4
then output that i want in my script:
$1=file1
$2=file2
$3=file3
$4=file4
but,when write in ksh script with:
while read folder
set - $( echo ${folder} )
i=1
while (($i <= $#))
do
... (2 Replies)
Discussion started by: proghack
2 Replies
7. Shell Programming and Scripting
Hi -
I have a file that contains data in this format:-
#comment
value1 value2 value3
#comment
value4 value5 value6 value7
#comment
value8 value9
I need to read value1, value2 and value3 into one array, value4 value5 value6 and value7 into another array and value8 and value9 into a 3rd... (2 Replies)
Discussion started by: sniper57
2 Replies
8. UNIX for Dummies Questions & Answers
How would I go about storing multiple file paths in a directory that begin like: 20080402*
and run a loop that reads each line of each file thats in a given directory. So far this is what I have:
#!/bin/ksh
echo "ENTER Reprint Date (YYYYMMDD): "
read ReprintDate
echo ""... (1 Reply)
Discussion started by: developncode
1 Replies
9. Shell Programming and Scripting
I need to read pairs of lines from a file and compare them. We can assume that the number of lines in the file is even. Can i do it in korn shell? (4 Replies)
Discussion started by: ytokar
4 Replies
10. Shell Programming and Scripting
First I' d like to say you guys are awesome. :)
I have a word document that I cut and paste into Textpad and it removed all the fancy formatting which is fine with me. I WinScp'd it to the box and and called it inputfile.txt.
Opened it in vi and don't see any special characters or stuff that... (2 Replies)
Discussion started by: zilla30066
2 Replies