#!/bin/bashs='>seq1GAAAT>seq2CATCTCGGGA>seq3GAC>seq4ATTCCGTGCC'sed -E '/>/N;/\n[^>].{0,4}$/d' <<< "$s"
Standard input is empty
>seq2 CATCTCGGGA >seq4 ATTCCGTGCC
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!