Package: randomize-lines
Version: 0.2.5
Severity: minor
% man rl | grep -nA 11 simple
65: Some simple demonstrations of how rl can help you do everyday tasks.
66- Warning: some of these examples may affect the operation of your
67- system.
{stuff deleted....}
75- Kill a random process on your computer.
76- kill -9 `ps -A | awk '{print $1}' | rl --count=1`
Lines #75-76 seem potentially harmful. Granted the example is amusing
in a "are you still reading this?" sort of way, but most man page
readers want plain utility.
Furthermore the introduction in line #65 claims what follows are
"everyday tasks". Killing a random process is no everyday task, except
for a "script kiddie" or a general system tester perhaps.
Suggested benign replacement:
# play the 15 most recent .mp3 files from amule, in random order.
ls -c ~/amule/downloads/*.mp3 | head -n 15 | rl | sed 's/\(.*\)/"\1"/' |
xargs play
(The 'sed' code quotes the song titles, as some contain space.
'/usr/bin/play' is from the 'sox' package.)
Hope this helps...
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages randomize-lines depends on:
ii libc6 2.5-2 GNU C Library: Shared libraries
randomize-lines recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]