https://github.com/JuliaLang/julia
Raw File
Tip revision: 6d4566b95b1a32cc8b79b15ffce22d202159f29e authored by Stefan Karpinski on 06 December 2018, 17:19:33 UTC
wip
Tip revision: 6d4566b
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