https://github.com/JuliaLang/julia
Raw File
Tip revision: 6763ed8c45d1184a210943f03cc88c706ecd9f2b authored by Chris Foster on 10 May 2019, 08:36:29 UTC
WIP: Add macro expansion to backtraces
Tip revision: 6763ed8
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