Hi. On Mon, Aug 9, 2010 at 11:01 PM, Manas Alekar <maalekar at gmail.com> wrote: > cat try.txt | cut -d '_' -f2- | rev | cut -d '_' -f2- | rev > > Manas > does not work, leaves the underscores between the words. this is what u get. abc abc_xyz abc_pqr_xyz this is what is expected abc abcxyz abcpqrxyz --dexter