https://github.com/JuliaLang/julia
Raw File
Tip revision: 69bde3d1bf118dbc805e83ef003bd3b62f50c8bc authored by Keno Fischer on 25 January 2017, 23:43:32 UTC
WIP: Implement alias scopes
Tip revision: 69bde3d
filterArgs.sh
#!/bin/sh
# This file is a part of Julia. License is MIT: https://julialang.org/license

# Loop over all command line arguments
for i in "$@"; do
    # If an argument starts with -L, echo it out sans -L!
    case $i in
    -L*) printf '"%s"\n' "${i#-L}" ;;
    esac
done
back to top