by mkelly · 15y ago · 0 comments
Maybe there's a point in there somewhere, but bad code samples distract from it.
if(...) ...;ELSE {
}
That's the first time I see this and hope the last.
Intuitions like these are rough though - it depends on how low in your perception stack you have the C operators etc. embedded.
"By itself, the yes command outputs 'y' or whatever is specified as an argument, followed by a newline repeatedly until stopped by the user or otherwise killed; when piped into a command, it will continue until the pipe breaks (i.e., the program completes its execution)."
yes - output a string repeatedly until killed