Skip to content

Commit

Permalink
standardized version strings
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhotep committed Jul 15, 2024
1 parent 910f984 commit db636c8
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 12 deletions.
6 changes: 4 additions & 2 deletions cidr2ips
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ You can also pipe this from an SPF record, e.g.
This script requires perl module Net::CIDR.
cidr2ips v0.3+20120815 Copyright (c) 2010+ by Adam Katz, 2-clause BSD license
Part of net-scripts: https://github.com/adamhotep/net-scripts
cidr2ips 0.3.20120815.1 Copyright 2010+ by Adam Katz, GPLv2+
=head1 AUTHORS
Adam Katz E<lt>https://github.com/adamhotep/net-scriptsE<gt>
Adam Katz E<lt>https://github.com/adamhotepE<gt>
=cut

Expand Down
6 changes: 4 additions & 2 deletions cidr2regex
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ or
This script requires perl modules Regexp::Assemble and Net::CIDR.
cidr2regex v0.3.20180708 Copyright (c) 2010+ by Adam Katz, 2-clause BSD license
Part of net-scripts: https://github.com/adamhotep/net-scripts
cidr2regex 0.3.20180708.1 Copyright 2010+ by Adam Katz, GPLv2+
=head1 AUTHORS
Adam Katz E<lt>https://github.com/adamhotep/net-scriptsE<gt>
Adam Katz E<lt>https://github.com/adamhotepE<gt>
=cut

Expand Down
2 changes: 1 addition & 1 deletion eml2mbox
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Usage: eml2mbox [OPTIONS] [FILE...]
FILEs may be either .eml (RFC 5322) file or it may be a list of such files.
eml2mbox will assume everything is the same format as the first input file.
eml2mbox v0.4.20170408, Copyright (C) 2010+ by Adam Katz, GPLv2+
Part of net-scripts: https://github.com/adamhotep/net-scripts
eml2mbox 0.4.20170408.1, Copyright 2010+ by Adam Katz, GPLv2+
/help
exit
}
Expand Down
6 changes: 4 additions & 2 deletions hosts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ help() {
-e "3 { s/^/ /; s/ $h.*/ [-S server ] $h [$h...]/ }" \
-e "/^ *-s/ { p; s/s.*/S specifies the DNS server/ }" \
-e "/^ *-v/ { p; s/v.*/V show version and license info/ }"
echo ''
version
}

version() {
echo "hosts 0.2+20160326, Copyright 2002+ by Adam Katz, GPL v2+"
echo "Part of net-scripts: https://github.com/adamhotep/net-scripts"
echo "Part of net-scripts: https://github.com/adamhotep/net-scripts"
echo "hosts 0.2.20160326.1, Copyright 2002+ by Adam Katz, GPL v2+"
}

# exits with an error if we are missing an option's required argument
Expand Down
4 changes: 2 additions & 2 deletions poke
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Usage: poke [-av] target[:port] [target[:port] ...]
target Any IP address or domain name, like 192.168.0.1 or www.google.com
port Port to probe (defaults to 80, http)
poke 0.7, Copyright 2005+ by Adam Katz, GPLv2+
Part of net-scripts: https://github.com/adamhotep/net-scripts
Part of net-scripts: https://github.com/adamhotep/net-scripts
poke 0.7.20131031.1, Copyright 2005+ by Adam Katz, GPLv2+
/help
}

Expand Down
2 changes: 1 addition & 1 deletion ssh-hosthashes
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ssh-hosthashes, e.g.
sudo cat /home/some_user/.ssh/known_hosts |ssh-hosthashes
ssh-hosthashes v0.2+20160312 Copyright 2010+ by Adam Katz, 2-clause BSD
ssh-hosthashes 0.2.20160312.1 Copyright 2010+ by Adam Katz, GPLv2+/BSD 2-clause
=head1 AUTHORS
Expand Down
4 changes: 2 additions & 2 deletions tsocks
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Usage: ${0##*/} [OPTIONS] [APP [APP ARGS]]
for a network range, containing -r, -s, and any of [sptuPf].
-r remote-net An IP/Subnet pair (like -l) for within a net-conf scope.
APP [APP ARGS] Full command to run with SOCKS (default=${SHELL:-/bin/sh}).
tsocks-wrapper 0.4+20150819, Copyright 2009+ by Adam Katz, GPLv2 (like tsocks)
Part of net-scripts: https://github.com/adamhotep/net-scripts
Part of net-scripts: https://github.com/adamhotep/net-scripts
tsocks-wrapper 0.4.20150819.1, Copyright 2009+ by Adam Katz, GPLv2+
/help
}

Expand Down

0 comments on commit db636c8

Please sign in to comment.