6,069 reputation
1342
bio website toggle.be/~ta
location Denmark
age 37
visits member for 2 years, 8 months
seen 4 hours ago

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


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?
Aug
25
revised Swapping an unlimited number of columns
Grammer
Aug
25
comment Get a list of directory names with find
@rahmu: This was tested with GNU find. None of the printf options are mentioned by POSIX and they do not seem to be supported by some of the other find versions. GNU find can be installed in most places, so in that sense it is portable.
Aug
25
revised Get a list of directory names with find
Be more specific about find version
Aug
25
answered Swapping an unlimited number of columns
Aug
25
awarded  Nice Answer
Aug
24
answered Get a list of directory names with find
Aug
24
reviewed Looks OK Incrementally backup FTP to local computer
Aug
24
comment How to merge chunks of text files in a directory to one or more files?
Just stick it in after the cat. To your second question, that depends on what you're trying to do, I think you should type it up as a new question, giving a good description of what you're trying to do.