Skip to content

Instantly share code, notes, and snippets.

@rotty3000
Created December 11, 2021 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rotty3000/8bab3ec6fc544d7ff5d4c791adfb4c63 to your computer and use it in GitHub Desktop.
Save rotty3000/8bab3ec6fc544d7ff5d4c791adfb4c63 to your computer and use it in GitHub Desktop.
JShell Script SEBANG line
//usr/bin/env jshell <(for V in "$@";do A+="\"$V\",";done;echo "String[] args = {$A}") "$0"; exit $?
Stream.of(
args
).map(
"ARG: "::concat
).forEach(
System.out::println
);
/exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment