[-] Zucca@sopuli.xyz 3 points 4 months ago
[-] Zucca@sopuli.xyz 3 points 4 months ago* (last edited 4 months ago)

svg could be something....

[-] Zucca@sopuli.xyz 3 points 4 months ago
  • utilize awk if you need to process (=more complex than just grepping) large amounts of text.
    • make your awk code conform to at least busybox awk for compability

I once did a sh script that needed (because I wanted a challenge?) to be compatible with vanilla Android shell too. So I needed to test it with regular bash, busybox and mksh+toybox. That was 'fun'.

I've had some initial plans to spllit the code out from that project and develop a "shell" library that would ease building shell scripts that are compatible with different systems... But I bet someone else has already done that.

[-] Zucca@sopuli.xyz 3 points 4 months ago

$() instead of

So much this!

[-] Zucca@sopuli.xyz 3 points 4 months ago
[-] Zucca@sopuli.xyz 3 points 9 months ago

... and tmux session open in it.

[-] Zucca@sopuli.xyz 3 points 1 year ago

foot

Foot works fine here also.

[-] Zucca@sopuli.xyz 3 points 1 year ago

Yes. It's (cd -) in most cases much more convenient.

[-] Zucca@sopuli.xyz 3 points 1 year ago

cd, find, pushd, popd and last but not least nnn.

[-] Zucca@sopuli.xyz 3 points 1 year ago

Holy unholiness, Batman!

I did expect those kinds of tricks would cause syntax error in #defines, but instead looks like everything is allowed... Some day someone #defines a such abomination that it creates universe wide black hole -like vacuum and everything ceases to exist.

[-] Zucca@sopuli.xyz 3 points 1 year ago

Or you could start with something which already has a package manager.

LFS is fun weekend project, but it’s not a daily driver.

Agreed. It'll teach a lot, but to make it last longer, you want a package manager.

[-] Zucca@sopuli.xyz 3 points 1 year ago

You can join our tiny community at !gentoo@lemm.ee

Oh, nice!

view more: ‹ prev next ›

Zucca

joined 1 year ago