#!/bin/bashs="New York--1984 and counting.txt"echo "${s#*--}";sed 's/^[^-]*--//' <<< "$s"
Standard input is empty
1984 and counting.txt 1984 and counting.txt
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!