-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modularizing pdoc, pinclude and pproto
+ pgetopt documentation & example + regenerated docs
- Loading branch information
Showing
21 changed files
with
327 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/bin/sh | ||
echo "0.24.0" | ||
|
||
# When changing version number, remove src/version.h to regenerate it! | ||
. ./run/.phorward | ||
echo $VERSION |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/bin/sh | ||
#------------------------------------------------------------------------------- | ||
# Phorward C/C++ Library | ||
# Copyright (C) 2006-2019 by Phorward Software Technologies, Jan Max Meyer | ||
# https://phorward.info ++ contact<at>phorward<dash>software<dot>com | ||
# All rights reserved. See LICENSE for more information. | ||
# | ||
# Script: .phorward | ||
# Author: Jan Max Meyer | ||
# Usage: Phorward Shell Script Tools | ||
#------------------------------------------------------------------------------- | ||
|
||
# This is the official place where the version number is provided: | ||
VERSION="0.25.0" | ||
|
||
# ------------------------------------------------------------------------------ | ||
version() | ||
{ | ||
if [ -z "$1" ] | ||
then | ||
prog="Phorward C/C++ Library" | ||
else | ||
prog="$1" | ||
fi | ||
|
||
echo "$prog v$VERSION" | ||
|
||
if [ -n "$2" ] | ||
then | ||
echo "$2. Part of the Phorward C/C++ Library." | ||
fi | ||
|
||
cat <<ENDL | ||
Copyright (C) 2006-2019 by Phorward Software Technologies, Jan Max Meyer | ||
All rights reserved. See LICENSE for more information. | ||
ENDL | ||
} | ||
|
||
# ------------------------------------------------------------------------------ | ||
remove_c_comments() | ||
{ | ||
sed "/\/\*/!bc | ||
:a | ||
/\*\//!{ | ||
N | ||
ba | ||
} | ||
:c | ||
s:/\*.*\*/:: | ||
s://.*$::g" $1 | ||
} | ||
|
||
# ------------------------------------------------------------------------------ | ||
dos2unix() | ||
{ | ||
tr -d '\r' <$1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
|
||
bin_SCRIPTS = pdoc pinclude pproto | ||
bin_SCRIPTS = .phorward pdoc pinclude pproto |
Oops, something went wrong.