#!/bin/bashs='column1,column2,column3,column4'grep -Eo '^[^,]+,' <<< "$s"
Standard input is empty
column1,
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!