10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file ...it's like a xml file.
Now what I want as output is
This is just learning purpose. I tried reading each line, then parsing... (14 Replies)
Discussion started by: Anupam_Halder
2. Shell Programming and Scripting
I've read lots of posts about tr and sed and such, I haven't been able to get out of this one.
I have a file, like this:
SandraThe only thing it needs to do is delete the enter between the number and the name.
So, it needs to replace \n,\n with ,
... (7 Replies)
Discussion started by: skerit
3. Shell Programming and Scripting
i am running a shell script where i have assigned a variable to the value passed.
so my variable is
now i want to assign another variable var2 as
how can i do it using awk or something else....
thanks (2 Replies)
Discussion started by: rudoraj
4. Shell Programming and Scripting
I have a file which is delimeted with the character '. i need to replace this character with the same character and also a new line.
Can anyone please help me with the tr command for this.
Karan (11 Replies)
Discussion started by: karansachdeva
5. Shell Programming and Scripting
I wanted to replace one word with another word pl help me to solve the same.
I wanted to replace RXOTX with RXOTRX in a perticuler file with hole.
Ramesh (2 Replies)
Discussion started by: Ramesh Vellanki
6. Shell Programming and Scripting
its again sed question. i have line -
sed "s/$old/$new/g" "$f" > $TFILE && mv $TFILE "$f"
working well if
but if i want
it gives error like
sed: -e expression #1, char 9: unknown option to... (2 Replies)
Discussion started by: shailesh_arya
7. Shell Programming and Scripting
I have two files.
Each file has one line with 2500 charaters in it and both lines should be the same, but thay are not.
I need to compare the two lines and find where the differences are. So what I need to do is compare each character one at a time to find out whats different. (4 Replies)
Discussion started by: Tornado
8. Shell Programming and Scripting
i have input file like this abc.txt
and i am trying to replace \n\t with \t so that output will be like this:
filename.out:<TAB>ABC<TAB>9<TAB>AKC<TAB>1... (5 Replies)
Discussion started by: zedex
9. UNIX for Dummies Questions & Answers
I have a string : -
and i want to add delimiter after certain charater position through a script, eg. ICFFH,ASMTAAMPF,INCL,22082006,000002548789632.
I have tried and am able to achieve it through cut-paste. But i don't want to use cut paste as it... (6 Replies)
Discussion started by: divz
10. Shell Programming and Scripting
I need to pass a space bar or an enter key in a script for it to return control to my script. How do I do this.
For example the spacebar ascii value is 127, how do I tell the script to run this command. (4 Replies)
Discussion started by: quispiam