Jim Meyering wrote: > > - It's easy to get nearly the same effect with a simple filter, > as Pádraig suggested. (of course, a naive filter fails if > a file name contains " -> ", but the end result is solely for > human consumption, not for mechanical parsing, so that's ok) > > Just by the way, I compared your arrow and the one Pádraig > used in his example: > > $ printf 'a -> b\n' > a -> b > $ printf 'a \xe2\x86\x92 b\n' > a → b > $ printf 'a \u25aa\u25b6 b\n' > a ▪▶ b
Just to address my OCD, the example alias I posted would not work as somewhere along the line in pasting over a vnc session the unicode characters were mangled. Also the previous alias didn't precompute as much as it could, so: alias lsf="ls -l --color | sed 's/ -> / $(tput bold)▪▶$(tput sgr0) /'" cheers, Pádraig.