https://github.com/JuliaLang/julia
Raw File
Tip revision: 729c2f9b1a5af616c711ca6887b6eaa730a043e8 authored by Keno Fischer on 17 April 2018, 21:32:54 UTC
[NewOptimizer] inlining: Refactor todo object
Tip revision: 729c2f9
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