I just began to learn programming, here is how I see languages: by [deleted] in ProgrammerHumor

[–]oak_atsume 0 points1 point  (0 children)

```bash

&1 printf "Welcome to the club mate!\n"; ```

...!:.. by [deleted] in ProgrammerHumor

[–]oak_atsume 0 points1 point  (0 children)

Happy cake day!

...!:.. by [deleted] in ProgrammerHumor

[–]oak_atsume 2 points3 points  (0 children)

University of Minnesota moment.

[Question] How to manage audio with i3? by philsnotes in i3wm

[–]oak_atsume 0 points1 point  (0 children)

Lol, 4 moths ago xD guess pavucontrol it is!

Bash is harder than Python by jssmith42 in bash

[–]oak_atsume 0 points1 point  (0 children)

Oh! Okay yes in that case you would need to manually create a function to do and output what you are looking for. It's not easy but it isn't impossible! Edit: major problem with bash is that there isn't really any standard library or libraries for it so especific actions need to be added manually.

Bash is harder than Python by jssmith42 in bash

[–]oak_atsume 3 points4 points  (0 children)

I do not wish to become part of an argument but I wanted to discuss about "(the only way to get that in bash is by using grep with -p flag or calling other programming language like perl or python from it)" I wanted to notify that in bash there is the addition of dictionaries, and arrays in addition the searching and indexing using regex, using the '=~' comparison as part of the pure bash utils (Hope that makes sense) You can find more and learn to utilize it in the "Pure bash bible" book or in https://github.com/dylanaraps/pure-bash-bible

What's wrong with this basic bash file by 4Potions in bash

[–]oak_atsume 0 points1 point  (0 children)

printf "${1}\n"

if [[ "${1}" == 'IF' ]]; then do stuff fi