Revision 838827f4cd962f8c0ab5884e3856dd11462349f1 authored by Rafael Fourquet on 29 May 2019, 09:03:56 UTC, committed by Rafael Fourquet on 29 May 2019, 09:03:56 UTC
1 parent 50e3883
Raw File
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