Skip to content
This repository has been archived by the owner on May 10, 2020. It is now read-only.

workshop-depot/argr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

argr

tokenize string as command line args

For example, tokenizes this:

s := "-v 1 -s=1 --t 1 --q 11 -w \"tt\\\"tt\" -z=\"tt\\\"tt\" -zz /tmp/dir/"

To:

[-v 1 -s=1 --t 1 --q 11 -w tt"tt -z=tt"tt -zz /tmp/dir/]