flipboard.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Welcome to Flipboard on Mastodon. A place for our community of curators and enthusiasts to inform and inspire each other. If you'd like to join please request an invitation via the sign-up page.

Administered by:

Server stats:

1.2K
active users

#shell

23 posts23 participants0 posts today

Today I learned about Control-S and Control-Q… better late than never, I guess 😉

And just got me thinking about that helpful “scroll?” at the bottom of my ZX Spectrum after printing a screenful of content in BASIC…

#TIL #TodayILearned #Terminal #shell #suspend #ControlS #CtrlS social.jvns.ca/@b0rk/114354742

by default, pressing Ctrl+S will freeze your terminal (and Ctrl+Q will unfreeze)

I have never wanted this in my life, you can turn it off with stty -ixon

(fish turns it off by default)
MastodonJulia Evans (@b0rk@jvns.ca)Attached: 1 image anyway a much more practical use of stty is to disable `Ctrl+S`

POSIX specifies utility option names to be from the alnum character class in the portable character set (meaning [0-9A-Za-z]). Yet, all sorts of punctuation characters have been showing up in different tools. The ls utility in macOS has -@, -%, and -,. Lots of GNU utilities have -? and -# is not uncommon either.

I think if the Shell had universal command completion (like in TOPS-20), we would have seen the long option names that GNU popularized much earlier in Unix.

Here's a demo of the mp3 glitching script I wrote about here: reillyspitzfaden.com/posts/202

I added a batch script so I can take in a bunch of folders of .wav files, use ffmpeg to convert them to mp3 (and try out different bitrates), glitch them, re-encode those as .wav (easier to work with), and then clean up all the intermediate mp3s.

Türkiye sınırında muazzam rezerv! Dünya deviyle imzalar resmen atıldı: Bulgaristan hükümeti, Karadeniz'de petrol ve doğal gaz arama çalışmaları için enerji şirketi Shell ile sözleşme imzaladı.

Ulusal basında yer alan haberlere göre, Bulgaristan'ın başkenti Sofya'daki Bakanlar Kurulu binasında düzenlenen imza törenine Bulgaristan Başbakanı Rosen Jelyazkov, Bulgaristan Enerji Bakanı Zhecho Stankov,… eshahaber.com.tr/haber/turkiye EshaHaber.com.tr #Bulgaristan #Enerji #Petrol #DoğalGaz #Shell

I think I won't bother anymore with writing (bash) shell scripts that are longer than a few lines. I find the syntax too unintuitive and there are better programming languages like PHP that produce more readable code.

In the last two hours, I translated a bash shell script with ~250 lines to a PHP CLI script. The latter is nearly 400 lines long but definetly more readable and it also has more user-friendly output.

1/2