process foo { publishDir '/data/chunks' output: path 'chunk_*' into letters ''' printf 'Hola' | split -b 1 - chunk_ ''' }