https://github.com/JuliaLang/julia
Raw File
Tip revision: 36d7ad4b94de10458b5ec7c3bfa8a3ecd6ec01a3 authored by Jameson Nash on 24 June 2018, 01:11:43 UTC
fixup! rename with_output_color to with_format
Tip revision: 36d7ad4
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