Skip to content

Instantly share code, notes, and snippets.

@trejo08
Created August 14, 2019 14:30
Show Gist options
  • Select an option

  • Save trejo08/00c76f0fe88a738c3b26463409ead373 to your computer and use it in GitHub Desktop.

Select an option

Save trejo08/00c76f0fe88a738c3b26463409ead373 to your computer and use it in GitHub Desktop.

Revisions

  1. trejo08 revised this gist Aug 14, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion printPathReadableMode.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    #!/bin/bash
    ## small
    ## small hack to print $PATH var in readable mode
    echo $PATH | awk '{split($0,a,":"); for (i in a) print a[i]}'
  2. trejo08 created this gist Aug 14, 2019.
    3 changes: 3 additions & 0 deletions printPathReadableMode.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/bin/bash
    ## small
    echo $PATH | awk '{split($0,a,":"); for (i in a) print a[i]}'