File: egrep-fgrep

package info (click to toggle)
grep 3.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,556 kB
  • sloc: ansic: 111,824; sh: 13,272; perl: 606; makefile: 394; awk: 71; sed: 16
file content (6 lines) | stat: -rw-r--r-- 93 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/bin/sh

# test availability of {e,f}grep

printf 'aaaa' | egrep a
printf 'aaaa' | fgrep a