« first day (2784 days earlier)      last day (2468 days later) » 

01:34
@user2476549 filter, maybe?
 
5 hours later…
07:01
@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.
 
3 hours later…
09:51
Hello Chat !
small question, why from a ; separated csv this code :
awk -F";" ' BEGIN { OFS=";"} { print $1 $3 }' filename.csv
doesn't print :
Field1;field3
But :
Field1field3
@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).
@Kusalananda I feel like awk is so good but I can't understand it
thank you
it's working indeed
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.
 
2 hours later…
11:52
unix.stackexchange.com/q/445728/53092 Who from Stephen or Kusa will get the points on this awk(ward) question
12:17
@StephenKitt I have a problem I can't upvote your answer more than once despite its quality
@Kiwy heh
Thank you I was sure you or Kusa would explain this easilly
@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.
@Kusalananda I though about something like that but couldn't figure where to place the assignement
@Kiwy @StephenKitt's suggestion is good.
12:41
which one @Kusalananda the one to split filename ?
@Kiwy To only get the numbers from the filename once per input file.
Indeed it's a great idea
@Kiwy I expanded a bit on the reasoning there
13:10
whew! Glad I typed as quickly as I could ref
@JeffSchaller is a super hero he saves lifes !
needs to be extended with a “Lives saved” counter (alongside the “People reached” counter)
2
@StephenKitt now there's a cool idea for a Winterbash badge
@StephenKitt Thanks I'm starting to like what I understand from awk
13:13
"receives a comment on an accepted(?) answer containing saved .* life"
Or for an aprilfool badges
@JeffSchaller with a medic’s hat
@StephenKitt indeed; an ambulance, or the physician's snake & stick thing
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�...
How those badges are invented on event ? are they solely the fact of the Stckexchange devs or can we submit them ?
13:16
@StephenKitt is that Santa-turned-doctor?
@JeffSchaller ha ha it could be indeed
Ho ho ho! Now what seems to be the life-threatening UNIX emergency, young man?
@JeffSchaller That would be the response to the "I need help quick!" question we're getting sometimes.
@Kiwy my understanding is that it's some secret meeting of devs, but that's Yet Another Thing I'll Never Keep Track of on Stack Exchange
If we could combine that image with a "fastest gun in the west" gunslinger, we'd have a winner
Nurse Annie Oakley?
 
2 hours later…
15:33
@Kiwy not an answer, but:
15
Q: What is the origin and thought process behind the tradition of hats?

veryRandomMeWinter 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?

15
Q: Is there a simple page, "What is Winter Bash, and what's all this about hats"? Can we have one?

user568458I 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
15:50
what the?!?! That has to be the fastest 5 upvotes I've ever received.
every (active) U&L user must have refreshed the page and seen that question
5 votes in 2 minutes (boggled)
16:29
@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!
16:42
Hi folks. Was having an argument with the LaTeX folks about documentation.
Basically everyone ganged up on me, but I still think I had a point.
I thought of calling them elitist, but thought that would probably not help matters.
What is 550 failed to change directory.
But I suppose mentioning this without more context is a bit pointless.
Bottom line the xparse manual describes how to write macros in a more "modern" way.
I was trying to install own cloud. Then this happened
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.
@JeffSchaller The only thing missing in that answer is showing a comparison between the two time strings.
16:52
Echo {{a,b}, {c,d} returns a b c d
@PrabhjotSingh what?
Echo {{a,b}, {c,d} returns {a, { b, c} d}
should return error
@Jesse_b echo {{a,b}, {c,d} returns a b c d
Are you sure you are writing that correctly?
$ echo {{a,b},{c,d}
{a,c {a,d {b,c {b,d
16:58
When accidentally I put space between command and {c then echo {{a,b}, {c,d} returns {a, {b, c} d}
I really feel like you are either adding a { that doesn't exist in your command or forgetting a } that does
$ echo {{a,b}, {c,d}
{a, {b, c d
$ echo {{a,b}, {c,d}}
{a, {b, c} d}
No no I accidentally added space between command and {c
(╯°□°)╯︵ ┻━┻
No @Jesse_b don't give space before {c
This is not a valid anything either way:
`{{a,b}, {c,d}`
or
`{{a,b},{c,d}`
You need to remove the first {
17:03
Got it
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.
17:21
@JeffSchaller what is 550 failed to change directory in Mozilla.
@PrabhjotSingh it’s an FTP error code
it means the path that was requested doesn’t exist
sort of like a 404 in HTTP
What should be done now?
17:40
@PrabhjotSingh sounds like an error code. or 9 year old bug. hard to tell.
17:51
@StephenKitt when i open owncloud in terminal. this shows
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
gui.application: Already running, exiting...
 
2 hours later…
19:35
Thanks for the edit @Kusalananda.
19:56
@Jesse_b No problems.

« first day (2784 days earlier)      last day (2468 days later) »