1 2 3 4 5
#!/bin/sh # IFS controls what $(...) (inline evaluate) would split its captured # string with. the default is \x0a (i.e. newline). IFS="\x0a"