Hacker News new | ask | show | jobs
by Firehed 4923 days ago
That assumes that "silver" will appear before "needle", which may not always be the case. `grep needle file | grep silver` gets you lines containing both "silver" and "needle" but not necessarily in that order.