| User: Wei Jiang -- 2012-03-20 << 927 929 >> |
| Hits: 4029 |
| Type: Random word generator |
| Search all Random word generator examples |
| Description: |
| How to randomly replace one line from line 7 to line 10 with the same numbers of -? |
| Input Sample: |
| 4 500 A CATAACGAACCGC B CATAACGAACCGC C CATAACGAACCGC D CATAACGAACCGC A TCCAAGCCCATTG B TCCAAGCCCATTG C TCCAAGCCCATTG D TCCAAGCCCATTG A TTGAGGATTGATA B TTGAGGATTGATA C TTGAGGATTGATA D TTGAGGATTGATA |
| Output Sample: |
| 4 500 A CATAACGAACCGC B CATAACGAACCGC C CATAACGAACCGC D CATAACGAACCGC A TCCAAGCCCATTG B ------------- C TCCAAGCCCATTG D TCCAAGCCCATTG A TTGAGGATTGATA B TTGAGGATTGATA C TTGAGGATTGATA D TTGAGGATTGATA |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. ctrl-o open text file 2. ctrl-h open 'replace' dialogue * set 'replace unit' to 'Line' * set 'unit number filter' to: * set 'replace with pattern' to: |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |