08-22-2012
Alright, it works ok on the example, but when it gets more complicated it starts to not handle the missing characters in the same way, and ultimately breaks down completely with a few full-length individuals, that's when the duplication of every site occurs.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
When I do a man and save it into a file, I end up getting a lot of control characters. How can I remove them??
I tried this:
/1,$ s/^H//g
But I get an error saying "no previous regular expression".
Can someone help me with this.
Thanks,
Aravind (5 Replies)
Discussion started by: aravind_mg
5 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am having a file which contains records as follows:
DETAIL_KEY~12344|ACTIVE_PASSIVE~Y|AVG_SIZE_OF_RESPONSE~123123131
DETAIL_KEY~12344|ACTIVE_PASSIVE~Y|AVG_SIZE_OF_RESPONSE~123123131
DETAIL_KEY~12344|ACTIVE_PASSIVE~Y|AVG_SIZE_OF_RESPONSE~123123131... (4 Replies)
Discussion started by: Amey Joshi
4 Replies
3. UNIX for Advanced & Expert Users
hi
i have a file with these strings:
123_abc_X1116990
how to get rid of 123_abc_ and keep only X1116990?
I have columns of these:
123_abc_X1134640
123_dfg_X1100237
123_tyu_X1103112
123_tyui_X1116990
thx (5 Replies)
Discussion started by: melanie_pfefer
5 Replies
4. Shell Programming and Scripting
Here is my code.
for file in *1.3.html ; do mv "$file" `echo $file | tr '.1.3' ''` ; done
For some reason I am getting an error.
mv: file.idlesince.1.3.html and file.idlesince.1.3.html are identical
Could this be done a different way? (5 Replies)
Discussion started by: mrlayance
5 Replies
5. UNIX for Dummies Questions & Answers
Dear Members,
We have a file which contains some special characters. I need to replace these special character by a new line character(\n).
The Special character is \x85.
I am not sure what this character means and how we can remove it.
Any inputs are greatly appreciated.
Thanks... (5 Replies)
Discussion started by: sandeep_1105
5 Replies
6. Shell Programming and Scripting
I assume removing whitespaces in the n first characters of a string would be an easy task for sed? If so, how? (7 Replies)
Discussion started by: KidCactus
7 Replies
7. UNIX for Dummies Questions & Answers
I have a file with all kinds of ^M at the end of each line. How the heck can these be removed? I tried a global search and replace, but it doesn't seem to work.
Thanks! (8 Replies)
Discussion started by: HmmBerger
8 Replies
8. Shell Programming and Scripting
here's what im trying to do.
i have a file containing lines similar to this:
data.txt:
1hsRmRsbHRiSFZNTTA1dlEyMWFkbU5wUW5CSlIyeDFTVU5SYjJOSFRuWmpia0ZuWXpKV2FHTnRU
1lKUnpWMldrZFZaMG95V25oYQpSelEyWTBka2QyRklhSHBrUjA1b1kwUkJkd3BOVXpWM1lVaG5k... (5 Replies)
Discussion started by: SkySmart
5 Replies