Skip to content

Comment on GNU grep 2.12 changes behavior of recursion options, breaks existing scriptsparent

Comments

In POSIX -R is the recursion flag for ls, cp, rm, etc. So if you want to recurse, -R is probably a safer bet than -r. (ls -r just lists in reverse.)

Yeah, that may be it.. I'm wondering why they didn't just add a new option (aka --no-symlinks) or something

Annoying exception: scp only accepts -r as recursion flag, not -R.

Same here. I've been conditioned to use -R

Good point. Also, since you reminded me, chmod, chown, chgrp.

that's probably it

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.