Re:First steps with Scala, say goodbye to bash scripts…
by moonboots on Thursday January 12, 2012 @12:19PM
(#3457089)
Good catches
The spaces in filenames can be handled by having grep and du communicate with null delimited strings instead of newline delimited, e.g.
grep --files-with-matches --null "todavida..." *
du --summarize --total --files-from=<($(echo $translated_file_size))
And that breaks with files with spaces on them, which is a bane of shell scripts.
By the way, in Python: