Revision f82f82fb856f5b999ed59130b62a85edd1ac5a54 authored by Jeff Bezanson on 18 January 2018, 21:58:06 UTC, committed by GitHub on 18 January 2018, 21:58:06 UTC
2 parent s ae0a3e9 + 6412f06
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