6,329 reputation
1343
bio website toggle.be/~ta
location Denmark
age 38
visits member for 2 years, 11 months
seen yesterday

I'm trained in computer science engineering, but have a wide range of other interests as well.


Aug
30
comment Getting data from matching list
Forgot to re-add >, fixed. What do you mean by exact count?
Aug
30
revised Getting data from matching list
Forgot to re-add >
Aug
30
comment Getting data from matching list
See edit to the answer.
Aug
30
revised Getting data from matching list
Added multiline example
Aug
30
revised AWK match string, not Regex
Removed wrong syntax highlighting
Aug
30
answered Getting data from matching list
Aug
30
comment Using join with two files fails on larger file sizes
This is a very old version of join, can you try a newer version?
Aug
28
answered (Mac Terminal) sed to parse JSON … what am I doing wrong?
Aug
28
revised (Mac Terminal) sed to parse JSON … what am I doing wrong?
Better formatting
Aug
27
comment Have bash script wait for password
Add ssh_pid=$! after ssh and add kill $ssh_pid after the browser.
Aug
27
reviewed Looks OK Adding two numbers using expr
Aug
27
revised Swapping an unlimited number of columns
sc has a 702 column limit; added 3 characters in body
Aug
27
comment Swapping an unlimited number of columns
I do not see the floating point conversion, but adding -S to the psc command should interpret everything as strings. With regards to the 702 column limit, that's a hard limit because only A to ZZ columns are supported (26 + 26 * 26), I'll add a comment about that.
Aug
27
revised Swapping an unlimited number of columns
Used wrong name for sc
Aug
26
reviewed Looks OK How to create a snapshot in btrfs, and then rollback to it after some work?
Aug
26
reviewed Looks OK Share keyboard over network as separate device?
Aug
26
comment How can I split a text file into multiple text files?
Ah I missed the bit about space separated entries. You could also accommodate those with FS, e.g. -F '\\[ | \\]'.
Aug
26
revised How can I split a text file into multiple text files?
Added csplit link
Aug
26
comment How can I split a text file into multiple text files?
+1 nice. You do not need to match the entry: /^\[/ { name=$2 } should be enough.
Aug
26
answered How can I split a text file into multiple text files?