5 ms·
It doesn't matter which end of the egg.
by gnu8 4y ago
It doesn't matter which end of the egg.
- craftkiller 4y agoIt does when one is a standard convention compatible with all programs whereas -o does different things for different programs. For example, grep -o foo will print only the parts of the input stream that match "foo" but grep > foo will write to the file foo. Some commands don't even have a -o flag like "cat" but output redirection is still always an option.