From 3f230d7a611f62059b6cc9d6554533f8cd80bb1d Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Mon, 27 Aug 2007 22:30:59 -0600 Subject: [PATCH] cleanup diff.gz --- getopt/getopt-1.1.3.lsm | 16 --------- mount/h/swap.h | 5 --- mount/mount.smbfs | 68 ------------------------------------ text-utils/od.1 | 77 ----------------------------------------- 4 files changed, 166 deletions(-) delete mode 100644 getopt/getopt-1.1.3.lsm delete mode 100644 mount/h/swap.h delete mode 100644 mount/mount.smbfs delete mode 100644 text-utils/od.1 diff --git a/getopt/getopt-1.1.3.lsm b/getopt/getopt-1.1.3.lsm deleted file mode 100644 index 5849700d..00000000 --- a/getopt/getopt-1.1.3.lsm +++ /dev/null @@ -1,16 +0,0 @@ -Begin3 -Title: Getopt -Version: 1.1.3 -Entered-date: 23JAN02 -Description: An improved implementation of getopt(1), a program to parse - options within a shell script. Fully compatible with other - getopt(1) implementations, but with many additions like - long options and mixing of options and parameters. -Keywords: getopt script parse bash tcsh -Author: frodol@dds.nl (Frodo Looijaard) -Primary-site: http://huizen.dds.nl/~frodol - 28kB getopt-1.1.3.tar.gz - 689 getopt-1.1.3.lsm -Copying-policy: GPL -End - diff --git a/mount/h/swap.h b/mount/h/swap.h deleted file mode 100644 index db3fc404..00000000 --- a/mount/h/swap.h +++ /dev/null @@ -1,5 +0,0 @@ -#define SWAP_FLAG_PREFER 0x8000 /* set if swap priority specified */ -#define SWAP_FLAG_PRIO_MASK 0x7fff -#define SWAP_FLAG_PRIO_SHIFT 0 - -#define MAX_SWAPFILES 8 diff --git a/mount/mount.smbfs b/mount/mount.smbfs deleted file mode 100644 index 990b6954..00000000 --- a/mount/mount.smbfs +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/csh -# -# /sbin/mount.smbfs -# by Greg Galperin, MAR99 -# ver 1.1 MAR99 GRG docs update: must escape special chars like $ -# ver 1.0 MAR99 GRG original version -# -# Intent is to allow calls to mount with -t smbfs to work properly -# (either manually or from an automounter). -# -# bugs: -# -- possible security hole, as this is a shell script called as root... -# -- arguments other than rw and ro which mount might supply are not handled -# -########################################################################### -# -# To use this from autofs: -# -# have an entry of the form -# key -fstype=smbfs,-Uadministrator,-Ppassword ://host/share -# in the appropriate /etc/auto.mountpoint file. -# -# This makes access to /mountpoint/key/ access smb //host/share/ -# as administrator (or another user, if you specify such) with the given -# password. You may have to supply a -c . -# Special characters need to be 'escaped' with a backslash ('\') -- for -# instance, if you want to use the default share names with a "$" at the -# end (e.g., //host/c$), you must enter ://host/c\$ -# -# Note that mount/autofs is smart enough to figure out how to unmount -# this without any extra work on our part! -# -########################################################################### -# -# I get called as: /sbin/mount.smbfs //host/shr /mnt/tmp -o rw,arg1,arg2 -# -# It looks like mount tacks on either "rw" or "ro" as the first argument, -# so I'm going to count on having exactly 5 arguments. -# -# This has been developed and tested with mount-2.7 -# -########################################################################### - -# test for correct # args -if ( $# != 4 ) then - echo $0 does not know how to handle $# arguments: $* - exit -1 -endif - -# test for args in the form I expect -if ( "$3" != "-o" ) then - echo $0 does not know how to handle the 3rd argument not \"-o\" : $3 - exit -1 -endif - -setenv COMMAND "/usr/sbin/smbmount $1 $2" -foreach arg (`echo $4 | /usr/bin/tr ',' ' '`) - if ( "$arg" == "rw" ) then - setenv COMMAND "$COMMAND -f777 -d777" - else if ( "$arg" == "ro" ) then - setenv COMMAND "$COMMAND -f555 -d555" - else - setenv COMMAND "$COMMAND $arg" - endif -end - -$COMMAND - diff --git a/text-utils/od.1 b/text-utils/od.1 deleted file mode 100644 index bacae1b7..00000000 --- a/text-utils/od.1 +++ /dev/null @@ -1,77 +0,0 @@ -.\" Copyright (c) 1990, 1993 -.\" The Regents of the University of California. All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the University of -.\" California, Berkeley and its contributors. -.\" 4. Neither the name of the University nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" from: @(#)od.1 8.1 (Berkeley) 6/6/93 -.\" -.Dd June 8, 1998 -.Os -.Dt OD 1 -.Sh NAME -.Nm od -.Nd octal, decimal, hex, ascii dump -.Sh SYNOPSIS -.Nm "" -.Op Fl aBbcDdeFfHhIiLlOovXx -.Sm off -.Oo -.Op Cm \&+ -.Li offset -.Op Cm \&. -.Op Cm Bb -.Oc -.Ar file -.Sh DESCRIPTION -.Nm - has been deprecated in favor of -.Xr hexdump 1 . -.Pp -.Xr Hexdump , -if called as -.Nm "" , -provides compatibility for the options listed above. -.Pp -It does not provide compatibility for the -.Fl s -option (see -.Xr strings 1 ) -or the -.Fl P , -.Fl p , -or -.Fl w -options, nor is compatibility provided for the ``label'' component -of the offset syntax. -.Sh SEE ALSO -.Xr hexdump 1 , -.Xr strings 1 -.Sh AVAILABILITY -The od command is part of the util-linux-ng package and is available from -ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. -- 2.39.5