photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

238
active users

#command

2 posts1 participant0 posts today

Buenos días #fediverso!!! Tengan un excelente miércoles!! ⚡

Como es ya costumbre, vamos con una nueva pregunta de examen sobre Linux! 🐧

Una fácil, para amenizar el día 🙂

❓¿Qué comando puede utilizarse para obtener el número de líneas de un archivo?

Los leo! 👇 💬

Replied in thread

@cks @ben

In contrast to : for comments which is an abuse of label syntax in command scripts, the REM command in Microsoft's/IBM's COMMAND and CMD is indeed exactly that, a bona fide command.

So it has the twist that REM /? is not actually a comment line. It's a request for the on-line help of the REM command.

It's more special cased in #TakeCommand than in #CMD, interestingly, in that redirections are not parsed.

jpsoft.com/help/rem.htm

learn.microsoft.com/en-gb/wind

#4DOS#4OS2#4NT
Replied in thread

@ben

What if you invent a file format that has comments but isn't human readable?

Like the old sendmail.cf files.

The evidence suggests that the reverse happens and everyone else spends well over a decade in the penalty box. (-:

The fun ones are where the comments are mere side effects of throwing away all lines that don't parse properly.

Like how invalid : labels became a way to do comments in scripts for Microsoft's COMMAND/CMD.

I was pleasantly surprised that the #release #build of my #Rustlang #TUI #DAW is considerably faster than the #dev build. And, unlike the latter, it does not #glitch at low buffer sizes.

I've just started writing a #command #palette #modal. (Mapped it to #semicolon. Could add search on #slash in the same style, for looking up assets.)

I want to add a #sample loader #dialog, too. But right now there's no way to pass it to the top level object, so I've got to figure out that first.