bug#16862: Feature Request for rm
Minor feature request Suggest -q (for quiet) for rm command. No error code if file doesn't exist. rm -q file rather tham rm file 2 /dev/null my 2 cents
bug#16862: Feature Request for rm
Wow! I'm blind - thanks! On 2/23/2014 10:28 PM, Bob Proulx wrote: severity 16862 wishlist close 16862 thanks Hello Marc, Marc Perkel wrote: Minor feature request Suggest -q (for quiet) for rm command. No error code if file doesn't exist. rm -q file rather tham rm file 2 /dev/null The 'rm' program already handles this feature using the -f option. It is a standard idiom. Instead of -q you want -f. rm -f file This is much better than 'rm file 2 /dev/null' because errors are properly reported to the caller. The documentation says: -f --force Ignore nonexistent files and missing operands, and never prompt the user. Ignore any previous --interactive (-i) option. Since this is a standard feature I am marking the ticket closed. Please feel free to add further discussion into the bug log. Bob
Possible tail bug
Just noticed this having upgraded to Fedora 12. I use tail -F to follow a file that vanishes and is recreated once a minute. It works for some time but eventually tail quits and goes back to the command prompt. Just thought I'd let you know in case you changed something. tail: `info.log' has become inaccessible: No such file or directory tail: `info.log' has appeared; following end of new file ver-good budgetschooltours.ie ver-good 202.offersforme.net ver-good vistagy.com ver-good estatements.rbsnbonline.com ver-good antiqbook.com ver-bad ns207154.ovh.net ver-good ventech-eng.com tail: `info.log' has become inaccessible: No such file or directory tail: `info.log' has appeared; following end of new file ver-good wunderman.rjs0.com ver-good m.e.harryanddavid.com ver-good wunderman.rjs0.com ver-good cinci.rr.com ver-good tee.gr tail: `info.log' has been replaced; following end of new file ver-good mchsi.com ver-good joann-mail.com ver-good marplesteam.com ver-good tee.gr ver-good localnet.com tail: `info.log' has become inaccessible: No such file or directory [r...@listdata tmp]#
chmod on symlink
I'd like to be able to run chmod on a symlink so that users can't delete the symlink. Can it be done? ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Feature Requests
I'd like to ask again (you liked the idea but I'm not seeing it implemented) that on the utilities head ad tail that the -c option be not only in bytes but also in k,m,g as in 10k 200m 2g I have another request. In the utility uniq I'd like to see the switches --min --max to specify a range of number of uniques that will generate an output. For example: --min=5 Mean that there has to be at least 5 of something before there's an output. --max=10 Output if there is less than 10 matches. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Thoughts on cut
I'm not sure if this feature request would be disruptive or not but it would be handy. If I run cut -f 2,1 it would be nice if it put the fields out in the order specified. Put field 2 out, then field 1. Thoughts? ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Suggestion about tail
When using tail with the -c option it would be handy to be able to specify not just bytes but K, M, and G bytes Example: tail -c 5K should output the last 5K bytes. my 2 cents ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils