10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am using : << cut / cut to comment out block of code.
Works fine on few lines of script, then it gives me this cryptic error when I try to comment out about 80 lines.
The "warning " is at last line of script.
done < results
169 echo "END read all positioning parameters"
170... (8 Replies)
Discussion started by: annacreek
2. Shell Programming and Scripting
I'd like to modify custom values in a XML config file between comment tags using bash script.
<!-- bash script features START -->
... (2 Replies)
Discussion started by: prism1
3. Shell Programming and Scripting
(1) Yes but how is this block different from the other 24? You will need this information in order to identify and replace this block correctly (out of the 25).
Ans: The 1st line and last line of this block are unique from other block.
The 1st line is ôrem Subset Rows (&&tempName.*) and
The... (1 Reply)
Discussion started by: Zaheer.mic
4. Shell Programming and Scripting
i m having a html file and this file looks like this
... (7 Replies)
Discussion started by: becksram123
5. Shell Programming and Scripting
I have been working on something that doesn't seem to have a clear regex solution and I just wanted to run it by everyone to see if I could get some insight into the method of solving this problem.
I have a flat text file that contains billing records for users, however the records... (5 Replies)
Discussion started by: Jerrad
6. Shell Programming and Scripting
I'm trying to write a script to help automate some VERY tedious manual tasks.
I have groups of fairly large XML files (~3mb+) that I need to edit.
I need to look through the files and parse the XML looking for a certain flag contained in a field. If I find this flag (an integer value) I need... (4 Replies)
Discussion started by: J-Hon
7. Shell Programming and Scripting
I would like to get rid of all comment in an xml file by grep or sed command:
The content seem like this:
<!-- ab cd
ij kl -->
Anyone can help?
Thanks and Regards (3 Replies)
Discussion started by: RonLii
8. Shell Programming and Scripting
I am looking for a awk/shell which can find an element named REFERENCE in a XML file and check whether it is empty or not.
If there is no value in the REFERENCE element then correspondingly move the file to some other folder.
The Unix server is AIX version 4.
Any inputs... (9 Replies)
Discussion started by: karansachdeva
9. Shell Programming and Scripting
I have a file shows as below. I would like to put # before CCCC. so how to do in Solaris. Here sed doesnot support -i
FFFFFF (1 Reply)
Discussion started by: madhusmita
10. Shell Programming and Scripting
how to put multiline comments in a shell script like /* Some code */ in C language? (3 Replies)
Discussion started by: skyineyes