techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#unix

52 posts51 participants1 post today

Which "#awk(1)" other than GNU one does not die & continues to awk when a variable is assigned a string with embedded newline?

FreeBSD one, via "onetrueawk" from GitHub currently, dies.
#bugIsFeature #workingAsDesigned

# Option is supported at least by "awk(1)" of FreeBSD v14 (v20240422) & GNU (v5.3.1).
awk --version

input="9
7"
echo | awk -v arg="$input" '{ print arg }'

Replied in thread

@12dollargeneral

Thanks! It felt a little schlocky and disorganized to me. I was trying to get something out because the heavier subject was getting clogged in my "writing pipes." XD

I actually think modern #Linux/#UNIX #TUI programs could learn a lot from #MSDOS programs of old.

Especially Lotus 1-2-3. That had a very novel model for interaction that I've never quite seen replicated.

I'll have to find a vm of it somewhere and play with it again, after 31 years ;)

Ne abbiamo parlato qualche giorno fa nel GUUF.

Certo, la navigazione può risultare difficoltosa ma, esiste sempre la possibilità di mettere in whitelist siti specifici e segnale il problema.

"LibreJS is a free add-on for GNU IceCat and other Mozilla-based browsers. It blocks nonfree nontrivial JavaScript while allowing JavaScript that is free and/or trivial."

#linux #unix #gnulinux #unixITA #linuxITA #guuf #guufITA #guufxmmp #fedilug #librejs #fsf #gnu #gnulinuxITA

gnu.org/software/librejs/

www.gnu.orgLibreJS - GNU Project - Free Software Foundation
Replied in thread

> The prize is running out of PIDs

On a tangent, a job interview question for a systems programmer.

For a trivial fork bomb¹, explain what will happen _and_ estimate how long it will take (on hardware of your choice).

¹ For example,
#!/bin/sh
$0 & $0 &

For extra credit, explain what difference, if any, it will make if that is replaced by an equivalent program written in Common Lisp, Java, or Python.

#Linux
#SystemsProgramming
#Unix

@tfb @mdhughes @hairylarry @screwlisp

John Lions announced his now-famous commentary on #UNIX in Unix News from March 1977. Lions' work provided a line-by-line explanation of the Sixth Edition kernel source code, widely considered a masterclass in UNIX kernel internals
Via unix_byte

 Ken Thompson: “I’m glad someone’s finally giving ed the attention it deserves.”

Ha ha ha. Did he really say that, or was he being ironic? #Unix

I'm trying a compositor called Wio, i never used Plan9 but if this is how Rio works on Plan9 then i like it, keeping in mind that Wio doesn't implement all the features that Rio has. The most interesting thing about the design of Wio is that when you make a window by defult opens a terminal and in there you run your graphical program, so i'm thinking, wouldn't be neat that you could switch between the terminal and graphical preview, and and then came to my mind "why not allow to do that on the compositor it self" because sometimes happens that the compositor breaks and you are locked in the sence that you can't change to another tty.
Idk i think that would be neat.
#wayland #unix #plan9