10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I try to replace a string of characters in a file (MyFile.txt) by a multiline value of the variable "Myvar":
$ cat MyFile.txt
DESCRIPTION '@TargetTable SCHEMA'
The content of Myvar:
$ echo "$Myvar"
$ (4 Replies)
Discussion started by: dae
2. UNIX for Dummies Questions & Answers
I started exploring unix recently. Now i have got a requirement like i have a input file where i am having some strings line by line (One string Might be single line or multiple lines). Now i need find these strings in another file and if its found i have to replace it with another string... (2 Replies)
Discussion started by: Sivajee
3. Shell Programming and Scripting
considering the following table:
ID col1 col2 col3 col4
1 -16.06801249 13.49785832 -56.57087607 -27.00500526
2 -1.53315720 0.71731735 -42.03602078 -39.78554623
3 -1.53315190 0.71731587 -42.03601548 ... (3 Replies)
Discussion started by: Birda
4. UNIX for Dummies Questions & Answers
I have got a requirement to count the number of duplicate alternate Indexes present in a C-ISAM/IDXFORMAT(8) file.
Is there any utility that can furnish this information for the file? I am in need of the Alternate Index value and the number of times it appears as Alternate... (3 Replies)
Discussion started by: sriky86
5. Shell Programming and Scripting
I want to extract the lines from file1 by using the index numbers from file2. In example,
265 ABC 956 ...
698 DFA 456 ...
456 DDD 145 ...
125 DSG 154 ...
459 CGB 156 ...
490 ASF 456 ...
484 XFH 489 ...
679 hgt 481 ...
111 dfg 986 ...
356 vhn 444 ...... (7 Replies)
Discussion started by: senayasma
6. UNIX for Dummies Questions & Answers
I have a string like the following:
need to find the postion where "SYSTEM.dbf" starts, so I tried:
$ expr index $LOCATION SYSTEM
expr: syntax error
$ expr index "$LOCATION" SYSTEM
expr: syntax error
... (5 Replies)
Discussion started by: seafan
7. UNIX for Dummies Questions & Answers
I have a line "My name is Deepak"
How can i search a string Deepak in the line and find out its index position.
Here in this case the result should be 12. (3 Replies)
Discussion started by: dr46014
8. Shell Programming and Scripting
Now I want to replace 'DEFGHIJ' instead of '*.B' and store the value in d. Any Idea? Can we use sed here?
The outout should be like this:
Please help.. (4 Replies)
Discussion started by: Niroj
9. Shell Programming and Scripting
I have an xml file which have several sections as the following:
<process-type id="NIR" module-id="OC4J">
<data id="java-options" value="-server... (4 Replies)
Discussion started by: nir_s
10. UNIX for Dummies Questions & Answers
Well, i have a little problem here.
I am given device "console" of symbolical type.
I do need to get its driver's number (index ?)
Your help would be greatly appreciated
axujet (1 Reply)
Discussion started by: axujet