Skip to content

Commit

Permalink
Microsoft Windows lacks /dev/stdin, even with bash
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerb9 committed Jul 17, 2024
1 parent 83a7662 commit 6e36ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokenize
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function main() {
if [[ "$dflag" ]]; then
echo "Decommenting and tokenizing '$f' into '$g'"
jumps=$(m100-sanity "$f" | m100-jumps )
m100-sanity "$f" | m100-decomment /dev/stdin "$g" ${jumps}
m100-sanity "$f" | m100-decomment - "$g" ${jumps}
elif [[ "$cflag" ]]; then
echo "Decommenting, crunching, and tokenizing '$f' into '$g'"
jumps=$(m100-sanity "$f" | m100-jumps )
Expand Down

0 comments on commit 6e36ebe

Please sign in to comment.