Hot answers tagged

3

Mac uses BSD ls. See man ls for details. The format of LS_COLORS is different. The variable name isn't even LS_COLORS, it's LSCOLORS. The links I found that were most helpful in figuring this out were this blog post, and this article which was linked to from the blog post. The default value for LSCOLORS is exfxcxdxbxegedabagacad. To leave everything at ...


1

HELP 1 Due to the whitespace you need quoting: INPUT= "${file##*/}" OUTPUT= "${file%.txt}"_exd.txt It seems a bit strange, though, that there is a space between INPUT= and the file name. HELP 3 If you have a file input_1.txt then ${file%.txt}_1.txt becomes input_1_1.txt. I would match the exact file name: for file in ~/Desktop/parent\ ...



Only top voted, non community-wiki answers of a minimum length are eligible