Skip to content

Instantly share code, notes, and snippets.

View joelfuentes's full-sized avatar

Joelfuentes joelfuentes

  • Yucatán México
View GitHub Profile
#!/bin/sh
inPreprocessorMode () {
hasE=0
hasU=0
hasT=0
for arg in "$@"
do
if [ 'x-E' = "x$arg" ]; then hasE=1; fi
if [ 'x-undef' = "x$arg" ]; then hasU=1; fi