https://github.com/JuliaLang/julia
Raw File
Tip revision: fcadbec1e75ad30ea4c5fc70503de0a10b8582ed authored by Tim Besard on 23 December 2016, 09:14:05 UTC
Import of diff from JuliaGPU/julia.
Tip revision: fcadbec
filterArgs.sh
#!/bin/sh
# This file is a part of Julia. License is MIT: http://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