Re: Feature Request: disallow world-writable files in chmod

2013-07-04 Thread Jaroslav Rakhmatoullin
If a user wants to (makes the mistake of) let others delete their files, it's not your job to teach them otherwise. Compare to real life; someone leaves a bike on the street unlocked and someone else steals it. Does it make sense to file a complaint to the police department about not educating

Re: Feature Request: disallow world-writable files in chmod

2013-07-04 Thread Ben Lentz
On Thu, Jul 4, 2013 at 8:12 AM, Jaroslav Rakhmatoullin jazzos...@gmail.com wrote: If a user wants to (makes the mistake of) let others delete their files, it's not your job to teach them otherwise. Compare to real life; someone leaves a bike on the street unlocked and someone else steals it.

Re: sort/uniq/join: key-comparison code consolidation

2013-07-04 Thread Assaf Gordon
Regarding previously discussed topic: http://lists.gnu.org/archive/html/coreutils/2013-02/msg00082.html Attached is another update, rebased against the latest version. comments are welcomed, -gordon key-comapre.2013-07-02.patch.xz Description: application/xz

Re: sort/uniq/join: key-comparison code consolidation

2013-07-04 Thread Pádraig Brady
On 07/04/2013 06:33 PM, Assaf Gordon wrote: Regarding previously discussed topic: http://lists.gnu.org/archive/html/coreutils/2013-02/msg00082.html Attached is another update, rebased against the latest version. comments are welcomed, -gordon Thanks Assaf, This is bubbling up my

Generate random numbers with shuf

2013-07-04 Thread Assaf Gordon
Hello, Regarding old discussion here: http://lists.gnu.org/archive/html/coreutils/2011-02/msg00030.html Attached is a patch with adds --repetition option to shuf, enabling random number generation with repetitions. Example: to generate 50 values between 0 and 9: $ shuf --rep -i0-9 -n50

[PATCH] tests: fix shuf unreadable test to work when run as root

2013-07-04 Thread Pádraig Brady
* tests/misc/shuf.sh: Restrict the test to the significant case where we can't in fact read the unreadable file. --- tests/misc/shuf.sh |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/misc/shuf.sh b/tests/misc/shuf.sh index 171b25a..3e33b61 100755 ---