home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / humour / rm-new-version < prev    next >
Internet Message Format  |  2004-12-27  |  6KB

  1. From baur@venice.sedd.trw.com Tue Dec 28 00:37:56 2004
  2. Newsgroups: rec.humor.funny.reruns
  3. Subject: A new version of rm(1) for DOD contractors
  4. From: baur@venice.sedd.trw.com (Steven L. Baur)
  5. Approved: rhf-reruns@netfunny.com
  6. Keywords: computers, unix, original, chuckle, originally appeared in fourth quarter, 1989
  7. Followup-To: rec.humor.d
  8. Message-ID: <S15c1.1581@netfunny.com>
  9. Date: Sun, 14 Nov 2004 19:20:00 PST
  10.  
  11. Documentation for a new version of RM(1) floating around here.  (I
  12. wrote it).
  13.  
  14.             ------------------------------------------------
  15.  
  16.      RM(1)                                                 {hfill}     RM(1)
  17.  
  18. NAME
  19.   rm - remove files
  20.  
  21. SYNOPSIS
  22.   rm [ -fri ] [-A[ABCEFGHMRUbcfjlmnpru2]] file ...
  23.  
  24. DESCRIPTION
  25.  
  26.           The command _rm_ deletes each file argument from the system.
  27.           There are a large number of options:
  28.  
  29.           -f   Forced remove.  Unwritable files are removed without _rm_
  30.                asking permission.  By default, _rm_ will ask permission
  31.                before removing unwritable files.
  32.  
  33.           -r   Recursive remove.  For each argument which is a
  34.                directory, _rm_ will recursively remove the entire
  35.                hierarchy below it.  If this was successful, the
  36.                directory itself is removed.
  37.  
  38.           -i   Interactive remove.  _rm_ will ask permission before
  39.                removing anything.
  40.  
  41.           -A   Remove Ada files.  Ada files are those files that have
  42.                an extension of .a or .ada.  When -A is used, the f and
  43.                r flags are turned on, and / is used for the file
  44.                argument.
  45.  
  46.           There are a host of modifiers.
  47.  
  48.           -A   Purge accounts of all users who had Ada source files in
  49.                their account, or had used the Ada compiler this week.
  50.  
  51.           -B   Replace removed files with copies of the current bug
  52.                list for the compiler that can compile that particular
  53.                file.  In the unlikely event that more than one
  54.                compiler can compile the file, buglists are catenated
  55.                together.
  56.                WARNING: This can consume an inordinate amount of disk
  57.                space.
  58.  
  59.           -C   Remove all Ada compilers from the system.
  60.  
  61.           -E   Remove all executables produced by an Ada compiler.
  62.  
  63.           -F   Flame option.  After removing files, make a posting to
  64.                comp.lang.ada describing exactly how well Ada works.
  65.  
  66.           -G   Replace removed files with copies of the GNU manifesto.
  67.  
  68.           -H   Honesty option.  Send mail to the Ada compiler vendor
  69.                describing exactly how you felt spending $5000 for a
  70.                compiler that didn't work.  In the event that no e-mail
  71.                address for the vendor is available, the mail is posted
  72.                to comp.lang.ada.
  73.  
  74.           -M   Mail source files to rms@mit-prep.mit.edu before
  75.                removing.
  76.  
  77.           -R   Raw eggs option.  For every file deleted, print the
  78.                string "Ada sucks raw eggs" to the system console.
  79.  
  80.           -S   Script option.  Delete shell scripts that call the Ada
  81.                compiler too.
  82.  
  83.           -U   USENET option.  In addition to deleting files, delete
  84.                all accounts of users who subscribe to comp.lang.ada.
  85.                After deleting files and accounts delete comp/lang/ada
  86.                from the netnews area.
  87.  
  88.           -b   Beat option.  Only valid in conjunction with the -E
  89.                option.  Don't simply delete Ada compilers, beat them
  90.                to death with a stick first.
  91.  
  92.           -c   Don't remove Ada source files, instead convert them to
  93.                C++.  The extension is changed .c++.  If this option is
  94.                used in conjunction with the -G option, the Gnu
  95.                copyright is prepended to the file when translated.
  96.  
  97.           -f   Force option.  All files on the system are considered
  98.                suspect and are examined for any "Ada tendencies". Files
  99.                containing any "Ada tendencies" will be deleted.  This is
  100.                the only way to delete makefiles for Ada programs.
  101.  
  102.           -j   Jerry Falwell option.  In addition to deleting files,
  103.                burn all copies of the Ada Reference Manual.
  104.  
  105.           -l   Lose option.  This can only be used in conjunction with
  106.                the -C option.  Instead of deleting Ada compilers,
  107.                replace them with a shell script that prints "You Lose!"
  108.                when invoked.
  109.  
  110.           -m   After removing files, send mail to the project manager
  111.                describing exactly how well Ada compilers work.  If
  112.                this option is used, a resume is also posted to
  113.                misc.jobs.resumes.
  114.  
  115.           -n   Network option.  Don't limit deletion to the machine _rm_
  116.                was invoked from, delete all Ada files from the entire
  117.                network.
  118.  
  119.           -p   Pascal option.  Translate Ada source files to Pascal.
  120.                The extension is changed to .p.
  121.  
  122.           -r   Run /usr/games/rogue while deleting Ada files.
  123.  
  124.           -u   UUCP option.  Similar to the -n option.  Don't restrict
  125.                deletion to the machine _rm_ was invoked from, delete
  126.                files from all machines connected via UUCP.
  127.  
  128.           -2   Translate Ada source files to Modula 2.  The extension
  129.                is changed to .m2.
  130.  
  131. FILES
  132.   $HOME/resume for the -m option.
  133.   /usr/ada/bugreports/* for the -B option.
  134.  
  135. BUGS
  136.   There is no way to delete Ada files on machines that you are
  137.   not connected to.
  138.  
  139.   The -A option was written in Ada, so of course it is ugly
  140.   and non-portable.
  141.  
  142. -- 
  143. rec.humor.funny.reruns is a moderated newsgroup.  If you are seeing postings in
  144. the group other than the repostings from netfunny.com then your site's
  145. software is misconfigured.  Write your site's admin (usenet@yoursite) and ask
  146. them to make sure RHF and RHF.reruns are configured as "moderated."
  147.  
  148.