Skip to content

Instantly share code, notes, and snippets.

@tivrfoa
Last active October 14, 2020 07:15
Show Gist options
  • Select an option

  • Save tivrfoa/503c88fb5123b1000c37a3f2832d4773 to your computer and use it in GitHub Desktop.

Select an option

Save tivrfoa/503c88fb5123b1000c37a3f2832d4773 to your computer and use it in GitHub Desktop.

Revisions

  1. tivrfoa revised this gist Oct 14, 2020. No changes.
  2. tivrfoa revised this gist Oct 14, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions java-shell-script.jsh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    System.out.println("I have a dash in filename.");
    System.out.println("I'm java shell script");
  3. tivrfoa revised this gist Oct 13, 2020. 2 changed files with 13 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions a#a.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    class file4 {

    public static void main(String[] args) {
    System.out.println("I'm file 4");
    }
    }
    7 changes: 7 additions & 0 deletions dash-test.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    class file5 {

    public static void main(String[] args) {
    System.out.println("I'm file 5");
    System.out.println("dash-test");
    }
    }
  4. tivrfoa revised this gist Oct 13, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions file3.jsh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    System.out.println("Test jsh extension");
    System.out.println("I'm file 3");
  5. tivrfoa created this gist Oct 13, 2020.
    8 changes: 8 additions & 0 deletions file1.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    ///usr/bin/env jbang "$0" "$@" ; exit $?

    class file1 {

    public static void main(String[] args) {
    System.out.println("I'm file 1");
    }
    }
    8 changes: 8 additions & 0 deletions file2.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    ///usr/bin/env jbang "$0" "$@" ; exit $?

    class file2 {

    public static void main(String[] args) {
    System.out.println("I'm file 2");
    }
    }