a
This commit is contained in:
parent
862ff4e52a
commit
d51b95a12c
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ transpile() {
|
||||||
out="$2"
|
out="$2"
|
||||||
printf "" > "$out"
|
printf "" > "$out"
|
||||||
printf "<?php /* Copyright (c) 2024 Freya Murphy */\n\n" > "$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"
|
transpile "$1" "$2"
|
||||||
|
|
Loading…
Reference in a new issue