2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/look

9 lines
174 B
Plaintext
Raw Normal View History

2017-06-04 20:46:21 +00:00
# look
# Look for lines in sorted file (Mac OS X)
2017-06-04 14:35:24 +00:00
2017-06-04 20:46:21 +00:00
# Look for lines which begins with the given prefix:
look prefix file
2017-06-04 14:35:24 +00:00
2017-06-04 20:46:21 +00:00
# Look for lines ignoring case:
look -f prefix file