14,095 reputation
22755
bio website
location Marseille, France
age 33
visits member for 2 years
seen Aug 23 at 12:23

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


Aug
5
revised Unable to remove a file which has a name like a command argument
Fixed grammar
Aug
5
revised Why `time` command doesn't work with any option?
added 92 characters in body
Aug
5
revised Why `time` command doesn't work with any option?
rolled back to a previous revision
Aug
5
revised Why `time` command doesn't work with any option?
rolled back to a previous revision
Aug
5
revised Why `time` command doesn't work with any option?
rolled back to a previous revision
Aug
5
revised Why `time` command doesn't work with any option?
rolled back to a previous revision
Aug
3
awarded  command-line
Jul
31
awarded  Nice Answer
Jul
26
revised apt wiki excerpt
Improved grammar and removed the mention of "the package and the tool" since that is confusing and unclear.
Jul
26
revised apt wiki description
Improved grammar and removed the mention of "the package and the tool" since that is confusing and unclear.
Jul
26
suggested suggested edit on apt tag wiki
Jul
26
suggested suggested edit on apt tag wiki excerpt
Jul
25
revised What are the interrupts that user can invoke in terminal
deleted 1 character in body
Jul
25
comment Remove text that I don't want
@Scott nice! Though that also adds a lot of whitespace.
Jul
25
comment Remove text that I don't want
@Fischer glad it worked. The sed works as expected on my system with your example. The perl should also return the same order, nothing it does would affect the order so it's probably a difference between the example file and your actual data. Most likely that things are not nicely organized in lines as @Olli pointed out.
Jul
25
comment Remove text that I don't want
@Oli yeah, the grep is what I'd use. The OP does want the dupes according to their desired output. Good point about linebreaks. The perl approach should still work with a /g though.
Jul
25
comment Remove text that I don't want
@ClassStacker ah, point. Yes, the fold counts characters, not words. column should be able to do this dammit but I couldn't get it to play nice. xargs -n7 is probably the simplest.
Jul
25
reviewed Leave Open Security updates for old-releases
Jul
25
reviewed Leave Open Why ureadahead is concurrent?
Jul
25
reviewed Close Problem unistalling ubuntu 13.10 from bootloader(windows 8)