answersLogoWhite

0

grep can match the beginning of a line with the '^' character and the end of a line with the '$' character. Any character is matched by the '.' character, so to match a literal "." you will need to use the escaped '\.' sequence. Thus to match a line beginning with a dot and ending with a dot you would use:

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you locate lines beginning and ending with a dot using grep and sed commad?

grep can match the beginning of a line with the '^' character and the end of a line with the '$' character. Any character is matched by the '.' character, so to match a literal "." you will need to use the escaped '\.' sequence. Thus to match a line beginning with a dot and ending with a dot you would use:grep '^\..*\.$'This will match any line that both begins with a dot and ends with a dot, and has any characters in between.


What separates a function from the beginning and ending of a cell using Excel?

paranethesis


How do you locate places on map or globe?

using lines of latittude and longitude and co-ordinates


How do you make a physical map?

to use dots to locate the capitol cites use river lines to help show what or were the river is at


What is a 9 letter word beginning with B and ending with G but not using ing?

A nine letter word using those letters is boomerang.


How can I avoid damaging sprinkler lines when digging?

To avoid damaging sprinkler lines when digging, you should first locate the lines using a utility line locator. Then, carefully hand dig around the area where the lines are located instead of using machinery. Be cautious and dig slowly to prevent accidentally hitting and damaging the sprinkler lines.


Do credit card machines need phone lines?

In the beginning, yes they needed phone lines. These days I believe you can also do credit transactions using DSL, Cable and Satellite.


How do you connect 12 dots using 5 straight lines and ending where you started?

distribute the 12 dots around the perimeter of a pentagon


What 10-letter word beginning with with T and ending with R can be typed by using only the top row of letters on a typewriter?

Typewriter


What is a simple way to locate the image in a plane mirror?

A simple way to locate to image in a plane mirror without using light rays is to measure the distance of the object itself to the mirror and then draw a dotted line that is equal to the distance of the object-mirror on the other side. Then connect the sides to the end of the line. i had to do this in science today :)


Can you give me a sentence using the word locate?

"How can I locate a person on a grid map?"


What is the word for making picture of something ending in aw?

The word for making a picture of something ending in "aw" is "draw." Drawing is the act of creating a representation of an object or scene using lines and shapes. It is a fundamental skill in art and can be done using various tools and mediums, such as pencils, pens, charcoal, or digital software.