-
Notifications
You must be signed in to change notification settings - Fork 16
/
agrep.txt
30 lines (24 loc) · 2.12 KB
/
agrep.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
AGREP
agrep PATTERN [FILE]... #Comme grep, mais approximate matching (cf agrep() en R)
#Prend ces options de grep :
# - -e PATTERN
# - -k équivaut à -F
# - -i, -w
# - -v
# - --color
# - -c, -n, -q
# - -h, -H, -l
#Utilise Perl regexp
#Contrairement à agrep() en R :
# - substitutions/insertions/deletions sont effectuées sur PATTERN
-D NUM
-I NUM
-S NUM #Cost de deletions/insertions/substitutions
-E NUM
-NUM (1 à 9) #Max cost total (déf: 0)
-s #Imprime également cost du match
--show-position #Imprime index du match dans sa ligne
-B #N'imprime que les lignes ayant le cost minimal (ne marche que si FILE, pas stdin)
-d STR #Output et input delimiteurs entre les STRINGS. Le délimiteur est enlevé de l'output, sauf si -M