https://github.com/JuliaLang/julia
Raw File
Tip revision: c09a779ad6e5054a160c876ad128691e3e4b453e authored by Jameson Nash on 03 August 2017, 19:05:03 UTC
wip
Tip revision: c09a779
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