We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d73db commit acf5b76Copy full SHA for acf5b76
man/generate-man.sh
@@ -0,0 +1,15 @@
1
+#!/bin/bash
2
+
3
+# Generate the manpage
4
+# Copyright 2016 Joao Eriberto Mota Filho <[email protected]>
5
+# This file is under BSD-3-Clause
6
7
+P_DATA="22 May 2016"
8
+P_NAME=packit
9
+P_VERSION=1.1
10
+P_MANLEVEL=8
11
+P_DESCRIPT="Packet analysis and injection tool"
12
13
+[ -e $P_NAME.txt ] || { echo "$P_NAME.txt not found"; exit 1; }
14
15
+txt2man -d "$P_DATA" -t $P_NAME -r $P_NAME-$P_VERSION -s $P_MANLEVEL -v "$P_DESCRIPT" $P_NAME.txt > $P_NAME.$P_MANLEVEL
0 commit comments