Reputation
2,248
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
8 15
Newest
 Good Answer
Impact
~92k people reached

Oct
4
revised How to make executable of all files excluding a few file types?
added 593 characters in body
Oct
4
answered How to make executable of all files excluding a few file types?
Oct
4
comment How to make executable of all files excluding a few file types?
It seems to be 64-bit specific.
Oct
4
comment How to make executable of all files excluding a few file types?
This is not really ideal since there may be .o/.h/.cpp and other files.
Oct
4
comment How to make executable of all files excluding a few file types?
So you want to add executable bit to all files in current directory that do not have any extension in their name, right (so no dot in filename)?
Sep
22
awarded  Enlightened
Sep
22
awarded  Nice Answer
Sep
21
awarded  Custodian
Sep
19
revised How to grep a specific line _and_ the first line of a file?
added 327 characters in body
Sep
19
comment How to grep a specific line _and_ the first line of a file?
@sch: I couldn't find information about this in gnu sed manual. ps aux | sed --posix '1b;/syslog/!d' works as expected. Do you mean that I can't use semicolon to separate commands in sed at all if I want to be portable or it's somehow related only to b command?
Sep
17
awarded  Mortarboard
Sep
17
revised How is this sed command working?
added 126 characters in body
Sep
17
comment How is this sed command working?
Definitively. I can't provide all the detail about sed in this answer as I would have to rewrite the whole manual. I will add this as a note to this question since it indeed may be confusing in some cases.
Sep
17
comment How is this sed command working?
Yes, this is true. In other words d command not only removes the line from current buffer but since there is nothing in it, there's not much point in continuing with more commands. This is why it ignores the rest of them and starts from first command with the next line.
Sep
17
answered Backing up partition using dd and changing files
Sep
17
reviewed Edit Understanding backtick (`)
Sep
17
revised Understanding backtick (`)
spelling correction; added explaination about using useless cat
Sep
17
revised Understanding backtick (`)
added 598 characters in body
Sep
17
answered Understanding backtick (`)
Sep
17
answered How is this sed command working?