{"id":18556162,"url":"https://github.com/aaronlking/lobo-shell","last_synced_at":"2025-06-30T19:32:42.114Z","repository":{"id":171530132,"uuid":"583770034","full_name":"aaronlking/Lobo-Shell","owner":"aaronlking","description":"This is a program written in C that simulates a computer's command line shell.","archived":false,"fork":false,"pushed_at":"2022-12-30T21:34:46.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T13:11:25.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/aaronlking.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":"2022-12-30T21:28:19.000Z","updated_at":"2023-01-03T07:55:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c08970f-ad40-4fdc-9e84-8d976b269ee2","html_url":"https://github.com/aaronlking/Lobo-Shell","commit_stats":null,"previous_names":["aaronlking/lobo-shell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aaronlking/Lobo-Shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronlking%2FLobo-Shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronlking%2FLobo-Shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronlking%2FLobo-Shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronlking%2FLobo-Shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronlking","download_url":"https://codeload.github.com/aaronlking/Lobo-Shell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronlking%2FLobo-Shell/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262838349,"owners_count":23372513,"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":[],"created_at":"2024-11-06T21:29:15.543Z","updated_at":"2025-06-30T19:32:42.074Z","avatar_url":"https://github.com/aaronlking.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lobo Shell -- CS450 Project 2\n\n## Contributors:\n- [Aaron King](https://github.com/aaronlking)\n- [Joseph Henderson](https://github.com/jhendssu)\n- [Gary Singh](https://github.com/Gary-Git)\n- [Owen Mastropietro](https://github.com/OwenMastropietro)\n\n## Instructions To Run in project directory terminal:\n 1. `$ make run`\n 2. `$ make valgrind`\n 3. Or you can figure something else out...\n\n## Important Notes:\n- I suggest collapsing all the code / comments if your editor supports that.  \n\n- I have modified his splt_cmd_line() function. I added comments to it that  \nhightlight his use of strtok_r() and how I have modified it.  \n\n- I #defined a preprocessor directive, DEBUG, to sort of make use of the functionality behind the verbose flag from Project 1.\n\n- main() will loop on user input, calling his splt_cmd_line() function repeatedly  \nto split the line into commands, separated by pipes, |, and will then call my  \nsgt_major_pipage() function which will loop through each command in commands,   \nfurther delimiting each command into argv-like arrays, separated by whitespace,  \ncalling my handle_single_command() function to execute each command as if it  \nwere a stand-alone command.  \n\n- Most recent update: added logic for attempting arbitrary pipes...\nDOES NOT WORK :(. Currently commented out said logic so that it can can still be\nran to test running stand alone commands found between pipes.\n\n- I have often executed the following sequence of commands while testing / creating this logic:  \n 1. `$ make valgrind`  \n 2. `$ echo hello | echo hi | ls`  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronlking%2Flobo-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronlking%2Flobo-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronlking%2Flobo-shell/lists"}