Exemples Grep
This commit is contained in:
parent
8e9725ea68
commit
f823733962
Binary file not shown.
Binary file not shown.
43
Grepregexp/quelquesCommandes.txt
Normal file
43
Grepregexp/quelquesCommandes.txt
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
1937 grep the american-english | more
|
||||||
|
1938 grep the american-english
|
||||||
|
1939 grep ^the american-english
|
||||||
|
1940 grep the$ american-english
|
||||||
|
1941 grep her american-english
|
||||||
|
1942 grep cow american-english
|
||||||
|
1943 ls
|
||||||
|
1944 head answers.txt
|
||||||
|
1945 tail answers.txt
|
||||||
|
1946 tail wordle-allowed-guesses.txt
|
||||||
|
1947 egrep [^st] answers.txt
|
||||||
|
1948 egrep [^st] american-english
|
||||||
|
1949 egrep [^st]5 american-english
|
||||||
|
1950 egrep [^st]^5 american-english
|
||||||
|
1951 egrep [^st]**5 american-english
|
||||||
|
1952 egrep ([^st])5 american-english
|
||||||
|
1953 egrep ^[^st][^st][^st][^st]$ american-english
|
||||||
|
1954 egrep ^[^st][^st][^st][^st][^st]$ american-english
|
||||||
|
1955 egrep ^[abcdefghijklmnopqruvwxyz][abcdefghijklmnopqruvwxyz][abcdefghijklmnopqruvwxyz][abcdefghijklmnopqruvwxyz][abcdefghijklmnopqruvwxyz]$ american-english
|
||||||
|
1956 egrep ^[^st][^st][^st][^st][^st]* answers.txt
|
||||||
|
1957 egrep ^[^st][^st][^st][^st][^st]$ answers.txt
|
||||||
|
1958 egrep ^[^st][^st][^st][^st][^st]* answers.txt
|
||||||
|
1959 egrep ^[^st][^st][^st][^st][^st]$ answers.txt
|
||||||
|
1960 egrep ^[^st][^st][^st][^st][^st]$ answers.txt | wc -l
|
||||||
|
1961 wc -l answers.txt
|
||||||
|
1962 egrep ^[^st][^st][^sta][^str][^ste]$ answers.txt | wc -l
|
||||||
|
1963 egrep ^[^st][^st][^sta][^str][^ste]$ answers.txt
|
||||||
|
1964 egrep ^[^st][^st][^sta][^str][^ste]$ answers.txt | grep a
|
||||||
|
1965 egrep ^[^st][^st][^sta][^str][^ste]$ answers.txt | grep a | grep r
|
||||||
|
1966 egrep ^[^st][^st][^sta][^str][^ste]$ answers.txt | grep a | wc -l
|
||||||
|
1967 egrep ^[^st][^st][^sta][^str][^ste]$ answers.txt | grep a | grep r | wc -l
|
||||||
|
1968 egrep ^[^st][^st][^sta][^str][^ste]$ answers.txt | grep a | grep r | grep e | wc -l
|
||||||
|
1969 egrep ^[^st][^st][^sta][^str][^ste]$ answers.txt | grep a | grep r | grep e
|
||||||
|
1970 egrep ^[^strc]a[^starc]er$ answers.txt
|
||||||
|
1971 egrep ^[^strce]a[^starcg]er$ answers.txt
|
||||||
|
1972 egrep ^[^strcemk]a[^starcgmk]er$ answers.txt
|
||||||
|
1973 egrep ^[^strcemkp]a[^starcgmkp]er$ answers.txt
|
||||||
|
1974 egrep [violent]* american-english
|
||||||
|
1975 egrep ^[violent]*$ american-english
|
||||||
|
1976 egrep ^[violent]*$ american-english | grep v
|
||||||
|
1977 egrep ^[violent][violent][violent][violent][violent]*$ american-english | grep v
|
||||||
|
1978 alias
|
||||||
|
1979 grep ^[violent][violent][violent][violent][violent]*$ american-english | grep v
|
Loading…
Reference in New Issue
Block a user