101 reputation
2
bio website darkhogg.es
location Madrid, Spain
age 22
visits member for 1 year, 3 months
seen Jul 16 at 10:04

Multi-language developer and enthusiast of game programming


Jun
20
comment How to both display a command line's output on console and save the output into a text file?
@Dan + works with functions, aliases, builtins and even command groups and subshells. This should be the accepted answer IMO.
Jun
6
comment Make it so you can't stop command with CTRL+C
Using && does not seem appropriate here, the game could end due to some other signal and the trap would not be restored. Running the trap in a subshell might be better.
May
25
comment What is the difference between “Redirection” and “Pipe”?
@JohnThreepwood They have different meanings. What if I wanted to redirect something to a file named less, for example? thing | less and thing > less are perfectly different, as they do different things. What you propose would create an ambiguity.
Nov
14
awarded  Autobiographer
Mar
27
awarded  Supporter