44,084 reputation
655118
bio website
location Athens, Greece
age 34
visits member for 2 years, 4 months
seen 15 mins ago

Elected moderator on Unix & Linux. Feel free to @ping me in chat if there's anything I can help you with.

I've been using Linux since the late '90s and have gone through a variety of distributions. At one time or another, I've been a user of Mandrake, SuSe, openSuSe, Fedora, RedHat, Ubuntu, Mint, Arch and for the past few years Linux Mint Debian Edition (which is basically Debian testing but more green).

My Linux expertise, if I can grace it with such a lofty title, is mostly on manipulating text and regular expressions since that represents a large chunk of my daily work.

profile for terdon on Stack Exchange, a network of free, community-driven Q&A sites


Dec
1
comment Read a two-character column as two separate columns
@Costas you are assuming that the 1st column can never have a capital letter, and that the delimiter is a space. The cut approach is neat but less robust since even a change in whitespace will break it. Still, why don't you post these as answers? If the OP's data are indeed as simple as the example, they could be helpful. If you just leave them as a comment to my answer, I'm the only one who gets a notification about them and the only one to read it. Comments should be used to comment on the answer not to provide alternative answers.
Dec
1
answered How to make a list generated by md5deep in alphabetical order of relative paths?
Dec
1
comment How to use printf to show the results of a calculation?
@psmears whoops, indeed. Thanks, corrected.
Dec
1
revised How to use printf to show the results of a calculation?
added 24 characters in body
Dec
1
comment How to use printf to show the results of a calculation?
@miracle173 readibility is in the eye of the beholder I guess. However, there are very real reasons to prefer printf even if you might find it less readable.
Nov
30
revised How to replace this value in bash/sed
edited tags
Nov
30
comment Compare directory trees regarding file name (and size and date)
@Ariser well, it took about 40 seconds for a 2.6G directory (compared to a copy of itself) on my machine. You might be able to get something faster if you just find all files and compare mdsums but that won't make sure that everything is in the right path and will be harder to parse/setup.
Nov
30
answered Compare directory trees regarding file name (and size and date)
Nov
30
revised Debootstrap for Backbox Error with release file
edited tags
Nov
30
answered How to specify a different “top level” name for tar?
Nov
30
answered How to use printf to show the results of a calculation?
Nov
30
revised How to use printf to show the results of a calculation?
Fixed formatting and retagged
Nov
30
revised Read a two-character column as two separate columns
added 425 characters in body
Nov
30
answered Read a two-character column as two separate columns
Nov
28
comment Rolling Release Dual Boot
@strongbad why? If you don't update regularly, you are open to security issues that were recently patched but your system also remains as stable as it was. Why would a rolling release be different? In any case, the OP said nothing about updates and whether you update or not, your Windows install should remain unaffected.
Nov
28
revised Perl failed set locale on AIX 7.1
edited tags
Nov
28
comment Perl failed set locale on AIX 7.1
Is that the entire error message? "Please check that your locale settings" what? Could it need you to also set LC_ALL?
Nov
28
answered Rolling Release Dual Boot
Nov
28
comment Add entries to an array inside a loop
I don't know tcsh so I can't really help here but you realize your script doesn't work right? You are resetting the array at each iteration so it only ever keeps one non=0 number at a time.
Nov
28
revised Add entries to an array inside a loop
edited tags, removed commented lines