diff options
author | Freya Murphy <freya@freyacat.org> | 2024-05-20 19:00:41 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-05-20 19:00:41 -0400 |
commit | d51b95a12cd6c7501452cfdd59f27fe3d31be613 (patch) | |
tree | 849c6192705979b6ed7a22bbbc9704429f05787d | |
parent | fix simple php errors (diff) | |
download | xssbook2-d51b95a12cd6c7501452cfdd59f27fe3d31be613.tar.gz xssbook2-d51b95a12cd6c7501452cfdd59f27fe3d31be613.tar.bz2 xssbook2-d51b95a12cd6c7501452cfdd59f27fe3d31be613.zip |
a
Diffstat (limited to '')
-rwxr-xr-x | src/web/lang/_bin/transpile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/lang/_bin/transpile.sh b/src/web/lang/_bin/transpile.sh index e6e826c..36cd226 100755 --- a/src/web/lang/_bin/transpile.sh +++ b/src/web/lang/_bin/transpile.sh @@ -24,7 +24,7 @@ transpile() { out="$2" printf "" > "$out" printf "<?php /* Copyright (c) 2024 Freya Murphy */\n\n" > "$out"; - grep "\$lang" < "$file" | xargs -d'\n' -I{} bash -c 'handle_line "$@"' _ {} >> "$out" + grep "\$lang" < "$file" | xargs -n1 -I{} bash -c 'handle_line "$@"' _ {} >> "$out" } transpile "$1" "$2" |