#!/bin/bashs='chr1 1000chr6 24000000chr6 26000000chr6 27000000chr6 40000000chr7 100000'awk '!($1 == "chr6" && $2 > 25000000 && $2 < 33500000)' <<< "$s"
Standard input is empty
chr1 1000 chr6 24000000 chr6 40000000 chr7 100000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!