#!/bin/bashs="home/JOHNSMITH-4991-common-task-list"sed 's,.*/\([^-]*-[^-]*\).*,\1,' <<< "$s"
Standard input is empty
JOHNSMITH-4991
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!