{"id":17399302,"url":"https://github.com/feross/clash","last_synced_at":"2025-07-11T16:35:52.275Z","repository":{"id":65990032,"uuid":"178148068","full_name":"feross/clash","owner":"feross","description":"A Simple Bash-Like Shell ","archived":false,"fork":false,"pushed_at":"2019-03-28T07:18:46.000Z","size":428,"stargazers_count":29,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T15:59:27.257Z","etag":null,"topics":["bash","clash","cpp","shell"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feross.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-28T07:18:33.000Z","updated_at":"2024-05-28T10:55:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"74e0abb6-354d-41fc-99dc-1245b3dcb1fe","html_url":"https://github.com/feross/clash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/feross/clash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feross%2Fclash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feross%2Fclash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feross%2Fclash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feross%2Fclash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feross","download_url":"https://codeload.github.com/feross/clash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feross%2Fclash/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264851829,"owners_count":23673308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","clash","cpp","shell"],"created_at":"2024-10-16T15:15:24.826Z","updated_at":"2025-07-11T16:35:52.247Z","avatar_url":"https://github.com/feross.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"clash.gif\" alt=\"Clash logo\" width=\"400\"\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  Clash - A Simple Bash-Like Shell\n  \u003cbr\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n## What is Clash?\n\nA simple Bash-like shell. Assignment instructions are [here](https://web.stanford.edu/~ouster/cgi-bin/cs190-winter19/clash.php).\n\n## What is Bash?\n\nBash is a Unix shell and command language written by Brian Fox for the GNU\nProject as a free software replacement for the Bourne shell. First\nreleased in 1989, it has been distributed widely as the default login shell\nfor most Linux distributions and Apple's macOS (formerly OS X). A version is\nalso available for Windows 10. It is also the default user shell in Solaris\n11.\n\nBash is a command processor that typically runs in a text window where the user\ntypes commands that cause actions. Bash can also read and execute commands from\na file, called a shell script. Like all Unix shells, it supports filename\nglobbing (wildcard matching), piping, here documents, command substitution,\nvariables, and control structures for condition-testing and iteration. The\nkeywords, syntax and other basic features of the language are all copied from\nsh. Other features, e.g., history, are copied from csh and ksh. Bash is a\nPOSIX-compliant shell, but with a number of extensions.\n\nThe shell's name is an acronym for Bourne-again shell, a pun on the name of the\nBourne shell that it replaces and on the common term \"born again\".\n\n(From [Wikipedia – The Free Encyclopedia](https://en.wikipedia.org/wiki/Bash_(Unix_shell))).\n\n## Quick start\n\nGet started super quickly:\n\n```bash\nmake\n./clash\n```\n\n## Full usage instructions\n\n```bash\n$ ./clash --help\nClash - A Simple Bash-Like Shell\n\nUsage:\n    ./clash [options]\n\nIf no arguments are present, then an interactive REPL is started. If a single\nfile name argument is provided, the commands are read from that file. If a \"-c\"\nargument is provided, then commands are read from a string.\n\nExamples:\n    Start an interactive REPL.\n        ./clash\n\n    Read and execute commands from a file.\n        ./clash shell-script.sh\n\n    Read and excute commands from a string.\n        ./clash -c \"echo hello world\"\n\n    Read commands from stdin.\n        echo \"echo hello from stdin\" | ./clash\n```\n\n# License\n\nCopyright (c) Feross Aboukhadijeh and Jake McKinnon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeross%2Fclash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeross%2Fclash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeross%2Fclash/lists"}