https://github.com/JuliaLang/julia
Raw File
Tip revision: 553124038e3ef28ed0aa6d50c6ccc4c2e4349dc2 authored by Jake Bolewski on 30 September 2015, 19:34:16 UTC
peel off outer loop when using `@simd` with a multidim for loop
Tip revision: 5531240
filterArgs.sh
#!/bin/sh
# This file is a part of Julia. License is MIT: http://julialang.org/license

# Loop over all command line arguments
for i in "$@"; do
    # If an argument starts with -L, echo it out sans -L!
    if [[ $i == -L* ]]; then
        echo "\"${i:2:${#i}}\""
    fi
done
back to top