{"id":19316641,"url":"https://github.com/wisskirchenj/simple-calculator","last_synced_at":"2026-05-17T03:03:53.653Z","repository":{"id":110253589,"uuid":"537908509","full_name":"wisskirchenj/simple-calculator","owner":"wisskirchenj","description":"bash toy-project to practise shell-scripting","archived":false,"fork":false,"pushed_at":"2022-09-24T18:04:55.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-06T04:12:44.481Z","etag":null,"topics":["bash-scripting","bats"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/wisskirchenj.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-09-17T19:18:39.000Z","updated_at":"2022-09-17T22:20:20.000Z","dependencies_parsed_at":"2023-05-23T16:45:55.683Z","dependency_job_id":null,"html_url":"https://github.com/wisskirchenj/simple-calculator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisskirchenj%2Fsimple-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisskirchenj%2Fsimple-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisskirchenj%2Fsimple-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisskirchenj%2Fsimple-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wisskirchenj","download_url":"https://codeload.github.com/wisskirchenj/simple-calculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240420938,"owners_count":19798501,"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-scripting","bats"],"created_at":"2024-11-10T01:12:04.710Z","updated_at":"2026-05-17T03:03:53.552Z","avatar_url":"https://github.com/wisskirchenj.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IDEA EDU Course ...\n\nImplemented in the Track 'Introduction to Command Line and Unix Shell' of hyperskill.org's JetBrains Academy.\n\n## Technology / External Libraries\n\n- bash 3.2.57 on macOS\n- bash testing suite BATS (bats-core, bats-assert, bats-support)\n\n## Repository Contents\n\nThe sources of main project tasks (4 stages) and testing.\n\n## Program description\n\nThe toy project implements a simple calculator with bash.\n\nStage 1: just parsing and validation of operation given.\n\nStage 2: enter a simple operation with blanks separated, i.e. \"2 + 45\" or \"-2 * -45\" or \"4 / 2\".\n\nStage 3: also float values are parsed and allowed - result is taken using bc (basic calculator tool from bash)\n\nStage 4: instead of single operation now do a CL-loop and save/append also to a history file (using tee-command).\n\nRun tests using bats\n\nHave fun!\n\n## Project completion\n\nProject was completed on 24.09.22.\n\n## Progress\n\n17.09.22 Project started - gitHub repo and project structure setup.\n\n17.09.22 Stage 1 completed - parsing of calc operation line: posix regexp, functions in bash, switch the shell globbing on/off,\nsetup of BATS testing \n\n21.09.22 Stage 2 completed - parse the operation and print the result - or a failed check message from parsing. teststarter added.\n\n21.09.22 Stage 3 completed - parse and allow float values now - test cases added\n\n24.09.22 Final Stage 4 completed - while entry CL-loop with 'quit' to exit, write and append to an operation history\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisskirchenj%2Fsimple-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisskirchenj%2Fsimple-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisskirchenj%2Fsimple-calculator/lists"}