aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlpq-ssh17
-rwxr-xr-xlpr-ssh23
-rwxr-xr-xlprm-ssh20
3 files changed, 0 insertions, 60 deletions
diff --git a/lpq-ssh b/lpq-ssh
deleted file mode 100755
index 9def1f4..0000000
--- a/lpq-ssh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-#
-# LPQ over SSH.
-#
-
-# Parameters
-BASENAME="`basename $0`"
-SERVER="$1"
-
-# Check
-if [ -z "$1" ]; then
- echo "usage: $BASENAME <server>"
- exit 1
-fi
-
-# Proceed
-ssh $SERVER lpq
diff --git a/lpr-ssh b/lpr-ssh
deleted file mode 100755
index cf7db82..0000000
--- a/lpr-ssh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-#
-# LPR over SSH.
-#
-
-# Parameters
-BASENAME="`basename $0`"
-SERVER="$1"
-
-# Shift
-shift
-
-# Check
-if [ -z "$1" ]; then
- echo "usage: $BASENAME <server> <file>"
- exit 1
-elif [ ! -e "$*" ]; then
- echo "no such file: $*"
- exit 1
-fi
-
-# Proceed
-cat "$*" | ssh $SERVER lpr
diff --git a/lprm-ssh b/lprm-ssh
deleted file mode 100755
index 53e1905..0000000
--- a/lprm-ssh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-#
-# LPR over SSH.
-#
-
-# Parameters
-BASENAME="`basename $0`"
-SERVER="$1"
-
-# Shift
-shift
-
-# Check
-if [ -z "$1" ]; then
- echo "usage: $BASENAME <server> <job>"
- exit 1
-fi
-
-# Proceed
-ssh $SERVER lprm $1