M
M
Microp2016-03-24 14:34:22
System administration
Microp, 2016-03-24 14:34:22

Shell search in expression ..?

How to output lines from a file with two consecutive dots
cjsa.com
mks..com
output the line mks..com
something like
cat test | grep ..
cat test | grep\.\. what does not work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xibir, 2016-03-24
@Microp

grep '\.\.' test

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question