https://github.com/JuliaLang/julia
Raw File
Tip revision: ffa26baff67807136faccf7a0f612ddd7d5ede10 authored by kshyatt on 15 December 2016, 01:11:23 UTC
Get rid of useless consts
Tip revision: ffa26ba
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