aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/preproc.awk
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-09-03 10:17:52 +0200
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-09-03 10:17:52 +0200
commit6ac40a597939989a55ab5465f548489e1ea4937d (patch)
treef198684f7427a0fccafe5b1e120a3db7db99b924 /src/man/preproc.awk
parentAdd profile for twitch,youtube,youtube-music; fix git-cola ,add cola (#3577) (diff)
downloadfirejail-6ac40a597939989a55ab5465f548489e1ea4937d.tar.gz
firejail-6ac40a597939989a55ab5465f548489e1ea4937d.tar.zst
firejail-6ac40a597939989a55ab5465f548489e1ea4937d.zip
various
* README.md & RELNOTES * Allow gnome-build do read and write .bash_history, it has a build-in terminal * D-Bus filter for gnome-passwordsafe * wruc for supertuxkart * wruc+wusc for totem * dbus-system none for totem * remove src/man/preproc.c it is replaced by preproc.awk * remove dead-code form preproc.awk
Diffstat (limited to 'src/man/preproc.awk')
-rwxr-xr-xsrc/man/preproc.awk9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/man/preproc.awk b/src/man/preproc.awk
index d5cee8c44..20081b551 100755
--- a/src/man/preproc.awk
+++ b/src/man/preproc.awk
@@ -20,20 +20,11 @@
20# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 20# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21# SOFTWARE. 21# SOFTWARE.
22 22
23function errexit(msg) {
24 print msg > "/dev/stderr"
25 exit 1
26}
27
28BEGIN { 23BEGIN {
29 macros[0] = 0 24 macros[0] = 0
30 for (arg in ARGV) { 25 for (arg in ARGV) {
31 if (ARGV[arg] ~ /^-D[A-Z_]+$/) { 26 if (ARGV[arg] ~ /^-D[A-Z_]+$/) {
32 macros[length(macros) + 1] = substr(ARGV[arg], 3) 27 macros[length(macros) + 1] = substr(ARGV[arg], 3)
33 } else {
34 if (ARGV[arg] == "gawk" || ARGV[arg] == "awk")
35 continue
36# errexit("Invalid commandline argument" ARGV[arg])
37 } 28 }
38 ARGV[arg] = "" 29 ARGV[arg] = ""
39 } 30 }