]> git.proxmox.com Git - mirror_iproute2.git/blame - doc/do-psnup
Merge branch 'master' into net-next
[mirror_iproute2.git] / doc / do-psnup
CommitLineData
aba5acdf
SH
1#! /bin/bash
2# $1 = Temporary file . "string"
3# $2 = File to process . "string"
4# $3 = Page size . ie: a4 , letter ... "string"
5# $4 = Number of pages to fit on a single sheet . "numeric"
6
7if type psnup >&/dev/null; then
8 echo "psnup -$4 -p$3 $1 $2"
9 psnup -$4 -p$3 $1 $2
10elif type psmulti >&/dev/null; then
11 echo "psmulti $1 > $2"
12 psmulti $1 > $2
13else
14 echo "cp $1 $2"
15 cp $1 $2
16fi