s/bash

The venerable Bourne-Again Shell.

=> 🕹ī¸ Moderated by: skyjake

=> 🌒 Subspaces | 📖 Help | ❤ī¸ Code of conduct | Sign up

Posts

=> 🚀 random2934

I made a bash script to play random music from Music directory — [preformatted]

=> đŸ’Ŧ 4 comments ¡ 2024-09-23 ¡ 4 months ago

=> 🚀 random2934

A mistake most bash beginners make — It's the array variable expantion. here is an example: x=( a b "c d" ); echo ${x[@]} in this example a beginner would thinkg that ${x[@]} would be expanded to 3 fields but no. It would be expanded into 4 field a,b,c,d . It's very confusing. however to prevent it we just quote the parameter expansion like "${x[@]}" and now it would only expand to 3 fields :) hope you learned something new.

=> đŸ’Ŧ 1 comment ¡ 3 likes ¡ 2024-08-21 ¡ 5 months ago

=> đŸ‘ģ klimperfix

notesbash: A notes management TUI written in Bash — Hey there! notesbash, the note-taking program running in the terminal written in bash is about to have it first stable release. Before we release it, we would be happy to receive feedback and suggestions for improvement from anyone interested! Either here as a comment under this post or preferably as issues on Codeberg. notesbash started out as a fork of the filemanager fff. Features of notesbash as of version v0.6.3: - File management à la...

=> đŸ’Ŧ 3 comments ¡ 4 likes ¡ 2024-07-05 ¡ 7 months ago

=> 🚀 lanterm

Beginner tips for beautiful diffs? — I largely prefer command line tools, but when it comes to handling merge conflicts I find command line diff tools confusing (e.g. I'm in vimdiff and I've got these panes open - which is which?) and always end up either using a GUI git client like sublime merge to visualize the diff or dive into the file with conflicts and resolve them manually. Also, there are times when I wish to compare two files or strings. Sometimes I just make some dummy git activity to...

=> đŸ’Ŧ 5 comments ¡ 1 like ¡ 2024-04-23 ¡ 9 months ago

=> ☯ī¸ leoperbo

About grep --exclude — Colud this grep option be problematic? [preformatted] I'd seen more expressions like: [preformatted] But they doesn't cover the "file.txt_bkp" posibility.

=> đŸ’Ŧ 1 comment ¡ 2024-02-11 ¡ 1 year ago ¡ #grep

=> 🐝 november [...] | — gemini.locrian.zone/tech/xivships.gmi

[SOLVED] Was: Can I get an extra pair of eyes on some code I wrote? — Edited: ~ew pointed out that there was a naming conflict in the temporary files generated by the geminispace script and the webspace script; they both outputted to a file called 'shuffle', and the webspace script ran before the geminispace script so on occasion there would be some mangling of the latter. This also explains why both...

=> đŸ’Ŧ 1 like ¡ 2023-09-28 ¡ 1 year ago

Options

=> đŸ—Ŗī¸ Sort by activity
=> đŸ”Ĩ Sort by hotness
=> Gemini feed
=> Atom feed

Proxy Information
Original URL
gemini://bbs.geminispace.org/s/bash
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
33.142276 milliseconds
Gemini-to-HTML Time
0.975848 milliseconds

This content has been proxied by September (3851b).