{"id":50125,"library":"google-shlex","title":"shlex","description":"Package shlex implements a simple lexer that splits input into tokens using shell-style quoting and commenting rules.","status":"active","version":"0.0.0-20191202100458-e7afc7fbc510","language":"go","source_language":null,"source_url":"https://github.com/google/shlex","tags":["shell","lexer","tokenizer","quoting"],"install":[{"cmd":"go get github.com/google/shlex","lang":"bash","label":"Install github.com/google/shlex"}],"dependencies":[],"imports":[{"symbol":"shlex","correct":"github.com/google/shlex"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/google/shlex\"\n)\n\nfunc main() {\n\targs, _ := shlex.Split(\"echo 'hello world'\")\n\tfmt.Printf(\"%q\\n\", args)\n}","lang":"go","description":"Splits a shell command string into tokens."},"warnings":[],"env_vars":null,"search_vec":"'comment':19 'implement':4 'input':10 'lexer':7,22 'packag':2 'quot':17,24 'rule':20 'shell':15,21 'shell-styl':14 'shlex':1,3 'simpl':6 'split':9 'style':16 'token':12,23 'use':13","created_at":"2026-06-15T04:41:12.111956+00:00","updated_at":"2026-06-15T04:41:12.111956+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/google/shlex","github":"https://github.com/google/shlex","docs":"https://pkg.go.dev/github.com/google/shlex#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}