answersLogoWhite

0


Best Answer

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

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you locate lines beginning and ending with a dot using sed?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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.


How do you locate places on map or globe?

using lines of latittude and longitude and co-ordinates


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

paranethesis


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.


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


Can you give me a sentence using the word locate?

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


How do isopods locate appropriate environments?

The isopods locate their appropriate environments using their compound eyes and their antennae. The isopods locate their appropriate environments using their compound eyes and their antennae.


How do grid references work?

Grid references are a way to precisely pinpoint a location on a map by using intersecting lines on a grid. The vertical lines are numbered and are called eastings, while the horizontal lines are lettered and are called northings. The intersection of a specific easting and northing provides a unique reference point on the grid to locate a particular place.


What are the lines on maps and globes that help us find places?

Lines of latitude and longitude help us locate places on maps and globes. Latitude lines run horizontally and measure the distance north or south of the equator, while longitude lines run vertically and measure the distance east or west of the prime meridian. By using these lines, we can pinpoint the exact coordinates of any location on Earth.