Skip to content

Instantly share code, notes, and snippets.

@MisterJimson
Created May 13, 2021 20:56
Show Gist options
  • Save MisterJimson/8c2df25d042496a32d0c9bd2f986403a to your computer and use it in GitHub Desktop.
Save MisterJimson/8c2df25d042496a32d0c9bd2f986403a to your computer and use it in GitHub Desktop.
prepend.sh
for f in $(find ./ -name '*.dart')
do
(echo "// @dart=2.9" && cat $f) > filename1 && mv filename1 $f
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment