#!/bin/bash cd $(mktemp -d) # go to a temp dirmkdir -p 1/2/3/touch 1/1.txt 1/2/2.txt 1/2/3/3.txt shopt -s globstarls **/*.txt
Standard input is empty
1/1.txt 1/2/2.txt 1/2/3/3.txt
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!