Closed trentm closed 9 years ago
also control characters like ANSI escapes
$ touch "$(tput setaf 1)red"
$ ls
?[31mred
$ echo *
red
ls
on os x escapes it, but echo *
prints it in a red color
$ echo hi | mput "~~/stor/$(tput setaf 1)red"
/dave.eddy@joyent.com/stor/red 3B
$ mls ~~/stor/
red
In both examples above the filename showed up as red