Created
December 11, 2021 21:04
-
-
Save rotty3000/8bab3ec6fc544d7ff5d4c791adfb4c63 to your computer and use it in GitHub Desktop.
JShell Script SEBANG line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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