https://github.com/JuliaLang/julia
Raw File
Tip revision: 3cd6e2675dbaa3119bd0ef7777c445e4bc892978 authored by Rafael Fourquet on 02 January 2015, 08:34:56 UTC
use `Bit` type to create a BitArray (in ones, zeros, rand)
Tip revision: 3cd6e26
filterArgs.sh
#!/bin/sh

# 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