#!/bin/bashs='UA399_GTTTCG_L002_R1_001.file.gz'awk -F'_' {'print $1"_"$2"_"$3'} <<< "$s"
Standard input is empty
UA399_GTTTCG_L002
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!