bug#16862: Feature Request for rm

2014-02-23 Thread Marc Perkel

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

2014-02-23 Thread Marc Perkel

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

2009-12-12 Thread Marc Perkel
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

2009-06-01 Thread Marc Perkel
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

2008-08-24 Thread Marc Perkel
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

2008-04-10 Thread Marc Perkel
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

2008-02-07 Thread Marc Perkel
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