3,978 reputation
1622
bio website
location
age
visits member for 1 year, 9 months
seen 57 mins ago

The placid Indian water buffalo


12h
comment Output order with process substitution
I don't mind the loss of 2 points but I'll have my say - ambush downvotes are downright silly
12h
comment How to find files containing two strings in different lines
The OP's trying to change a function name in the file that defines the function and propagate the change to other files that contain references to the function. A blanket s/foo/bar/g replace would play badly with this situation in case the text foo is itself embedded inside other function names
12h
comment How to find files containing two strings in different lines
What if one of the OP's functions is named damned_fools
12h
comment How to find files containing two strings in different lines
What if one of the OP's functions is named damned_fools?
13h
comment How to find files containing two strings in different lines
edited your question to eliminate potential confusion between literal text you would like to search for and their regex representations. If you disagree roll back - thanks
13h
revised How to find files containing two strings in different lines
added 56 characters in body
14h
comment Printing in awk up to specific line and 5 more results
@HaukeLaging, you are probably right, amended answer. I usually get upbraided on SO for being too verbose with awk but when it comes to newbies i see your point
14h
comment Printing in awk up to specific line and 5 more results
@Intermd11, awk "NR==1,/For What It's Worth/{print;next};c++<5{print}" file should take care of it
14h
revised Printing in awk up to specific line and 5 more results
added 7 characters in body
14h
answered Printing in awk up to specific line and 5 more results
20h
reviewed Approve suggested edit on Desktop appears as a terminal when viewed via VNCserver client
22h
reviewed Approve suggested edit on Why doesn't my Bash script recognize aliases?
1d
reviewed Reject suggested edit on I want to use a bluetooth keyboard during initram
1d
reviewed Approve suggested edit on Starting my own application at the startup
1d
reviewed Approve suggested edit on How do I source another process's environment variables?
1d
reviewed Approve suggested edit on broken filesets after install VLC via RPMFusion
Apr
15
reviewed Approve suggested edit on Changing timezone on Debian keeps Local Time in UTC
Apr
15
reviewed Reject suggested edit on I want to use a bluetooth keyboard during initram
Apr
15
reviewed Reject suggested edit on I want to use a bluetooth keyboard during initram
Apr
15
reviewed Approve suggested edit on Rearrange text file by prepending data rows with header row