Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

added math operations using bash dc , an older unix language #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RhooneN wants to merge 1 commit into bobbyiliev:main from RhooneN:Math

Conversation

@RhooneN
Copy link

@RhooneN RhooneN commented Oct 18, 2024
edited
Loading

What type of PR is this? (check all applicable)

  • ♻️ Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 👷 Optimization
  • 📝 Documentation Update
  • 🚩 Other

Description

Related Tickets & Documents

Added to documentation?

  • 📜 readme
  • 🙅 no documentation needed

[optional] What gif best describes this PR or how it makes you feel?

RhooneN reacted with rocket emoji
Copy link

what-the-diff bot commented Oct 18, 2024

PR Summary

  • New Markdown File Addition
    A new markdown file named 1001-bash-Math-with-dc.md has been added to the project.

  • Content Enhancement for Mathematical Operations

    • The contents now cover how to conduct simple math operations using dc, a tool that utilizes reverse Polish notation.
    • The new content also discusses the usage of bc, a utility that allows calculations and comparisons with arbitrary precision.
    • Improvements have been made to perform arithmetic operations without the requirement of external programs by using the innate abilities of bash.
    • Lastly, basic arithmetic via expr is also covered which includes its limitations with integers and its capability to support regular expressions.

Copy link
Author

RhooneN commented Oct 21, 2024

First commit and first PR.

Copy link
Owner

@bobbyiliev bobbyiliev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR! I'll close it since it is not written in markdown, feel free to rework it if you decide to and open a new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@bobbyiliev bobbyiliev bobbyiliev requested changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /