Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-implement rc_splitwords to accommodate arbitrarily many words #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 6, 2020

  1. Re-implement rc_splitwords to accommodate arbitrarily many words

    Tested with zsh, bash, dash, ash (busybox) and /bin/sh pointing to bash.
    Test patterns:
    
    rc_splitwords '"a b"' "'c d'" 'e\ f' "g\ h" i\\\ j
    
    rc_splitwords $(seq 10000)
    rc_splitwords "$(seq 10000)"
    Michael Raitza committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    66af7a6 View commit details
    Browse the repository at this point in the history