@user2476549 As @JeffSchaller said, it's a "filter". POSIX actually formally defines a filter as "A command whose operation consists of reading data from standard input or a list of input files and writing data to standard output. Typically, its function is to perform some transformation on the data stream."
When you read piped data, you read from standard input. The pipe itself is just a way of providing the data. It might just as well come from a redirection.
@Kiwy Because the values are concatenated with no delimiter ($1 $3). You would have to use either print $1, $3 (preferably), or print $1 OFS $3 (ugly and unnecessary).
awk concatenates adjacent strings. Whitespace between the components that are concatenated does not matter.
@Kiwy With print field1, field2, field3, you're printing a complete record with three fields. awk will insert OFS between the fields and ORS at the end.
@Kiwy The double output comes from the assignment to JOBID in your code. Any true value would prompt awk to print the current line. awk '1;1 would print every input line twice, for example.
In Greek mythology, the Rod of Asclepius (Greek: Ράβδος του Ασκληπιού Rávdos tou Asklipioú; Unicode symbol: ⚕), also known as the Staff of Asclepius (sometimes also spelled Asklepios or Aesculapius) and as the asklepian, is a serpent-entwined rod wielded by the Greek god Asclepius, a deity associated with healing and medicine. The symbol has continued to be used in modern times, where it is associated with medicine and health care, yet frequently confused with the staff of the god Hermes, the caduceus. Theories have been proposed about the Greek origin of the symbol and its implications.
��2�...
Winter Bash is always a lot of fun and makes people trek across sites and participate in communities they are not usually a part of, but how did they originate? What was the thought process behind introducing this tradition?
I tried to write a meta post about winter bash and hats, but I couldn't find any simple explanation page to link to. I ended up garbling a home-spun description of my own with a not-terribly-helpful image from 2012.
This comment on a separate Meta.math.se thread puts it better than I can:
As...
@terdon, about unix.stackexchange.com/a/210166 note -e is the same as --long-iso in ast-open ls, which probably is what that answer was refering to. GNU ls had a -e but that was for --quote-shell. Now removed
@StéphaneChazelas Interesting, but I deleted that (presumably, I don't really remember now) because it had no explanation, no details, no nothing. So it didn't really read like a useful answer. Now, if you want to provide one with that option and an explanation, I can promise at least one upvote!
But the manual leaves out bunches of details, implicitly referring people to the more "traditional" commands. I just thought that some basic usage examples would be good.
But apparently that would be too elementary, and a waste of time.
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0 Qt: Session management error: None of the authentication protocols specified are supported
@Kusalananda I interpreted it differently from you and from DopeGhoti; I see it as asking to compare a variable with a string, not between variables. DG shows the variable comparison, though, just in case that’s what he OP meant.