Kevin Ballard 7fce9e2411 Trim trailing newline on cmdsubst when IFS=''
When $IFS is empty, command substitution no longer splits on newlines.
However we still want to trim off a single trailing newline, as most
commands will emit a trailing newline and it makes it harder to work
with their output.
2014-08-29 12:48:45 -07:00
..
2014-08-20 21:45:07 -07:00
2010-09-18 10:18:26 +08:00
2013-03-03 00:45:34 +05:30
2013-04-03 18:04:17 -07:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2010-09-18 10:18:26 +08:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2014-08-29 12:22:35 -07:00
2014-08-29 12:22:35 -07:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2014-07-13 19:11:29 -07:00
2012-07-08 09:19:11 +08:00
2012-07-08 09:19:11 +08:00