10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I have a file looks like a xml file:
....
<SrcIntDef>WAUXDFXXX<\SrcIntDef>
<SrcIntRep>WUBGIUNXXX<\SrcIntRep>
...
For these 2 lines I will change the values. So for result it should look like:
...
<SrcIntDef>WUBGIUNXXX<\SrcIntDef>
<SrcIntRep>WAUXDFXXX<\SrcIntRep>... (4 Replies)
Discussion started by: API
4 Replies
2. UNIX for Beginners Questions & Answers
I have xml file like below, i want change the values at default-value place of each argument name using shell script. like
where argument name= protocol and default-value=tcp,
where argument name =port and default-value= 7223,
where argument name = username and default-value=test,
example
... (12 Replies)
Discussion started by: s1s2s3s4
12 Replies
3. Shell Programming and Scripting
This is my first time posting here...so be gentle.
Suppose I have a test.conf file that contains a value such as a IP. I would like to be able to use the Dialog Utility in Linux to allow me to enter the new IP in a Dialog form...and the results get saved into the test.conf file in the place... (4 Replies)
Discussion started by: calahanp
4 Replies
4. Linux
I've been looking online trying to find the correct value nice and priority can take in the limits.conf file. ON the man page it says;
Does this mean priority can be any negative number and any positive?
Then
Does this mean any number between -20 and 19 also what does the definition of nice... (13 Replies)
Discussion started by: matthewfs
13 Replies
5. Shell Programming and Scripting
Hi all,
i need help to replace certain values in a file. I need the script to check and match the ID and exNum1. if match, values in $3 (file2.txt) need to replace the value for 'START' (file1.txt) for each match.
The sample structure is like this:-
File1.txt
ID P_6
START ... (4 Replies)
Discussion started by: redse171
4 Replies
6. Shell Programming and Scripting
I have an array
X = ( -100 -90 -80 -70 -60 -50 -40 30 40 50 60 70 80 90 100 )
I want to find the place where values change from negative to positive. (8 Replies)
Discussion started by: kristinu
8 Replies
7. Shell Programming and Scripting
Hi all,
Let say I have 2 files, 1 is source file and another is destination file.
Source file contains the following :
Kitten
Dogs
Donkey
Chicken
Turkey
And destination file contains :
Kitten, 0
Dogs, 0
Donkey, 0
Chicken, 0
Turkey, 0
Kitten, 0
Dogs, 0
Donkey, 0 (16 Replies)
Discussion started by: luna_soleil
16 Replies
8. Shell Programming and Scripting
TRASH_PATH:~/deleted/
MAX_VERSIONS:5
FILE_MAX_SIZE:1024
FOLDER_MAX_SIZE:8096
TRASH_MAX_SIZE:1024
LOG_MAX_SIZE:100
how do i change the value of TRASH_MAX_SIZE to 2040 using the script?
the filename is config.ini
please advice
Use code tags, ty. (5 Replies)
Discussion started by: classic
5 Replies
9. Programming
Hi I want to implement the nice command in the shell that I am building. I came to know that there is a corresponding nice() system call for the same. But since I will be forking different processes to run different commands typed on the command prompt, is there any way I can make a command... (2 Replies)
Discussion started by: tejbuch
2 Replies
10. Shell Programming and Scripting
I have a data file. I want to write a shell script that reads a data file and reads position 19 thru 24. if the data in those fields is 002006, than it should change it to 002007.
example:
hello world hello 002006 hello world hello world
hello world hello 002005 hello world hello world... (6 Replies)
Discussion started by: rudoraj
6 Replies