Explain the following command lines

Assignment Help Software Engineering
Reference no: EM13326300

Assume you have a text file called file. Explain the following command lines.

1. sed "s/the/a/g" file
2. sed -n "s/[A-Z]/&/gp" file
3. sed "32,45 s/[()]//g" file
4. sed "/^$/d" file
5. sed "s/\([0-9]\)-\([0-9]\)/\1\2/g" file
6. sed "80q" file

For example, sed 's/fox/ox/g' file will replace all occurance of fox with ox and not the just the first one in file.

 

Reference no: EM13326300

Questions Cloud

Determine the horizontal distance from the point : determine the horizontal distance from the point where the ball left the floor to the point where it hits the floor again. the ball leavesthe floor at x=0, y=0. determine the ball's y coordinate as afunction of x.
What is the apparent weight of a satellite : Communications satellites are placed in a circular orbit where they stay directly over a fixed point on the equator as the earth rotates. What is the apparent weight of a 2000 kg satellite in a geosynchronous orbit
Find the speed of the block just before it hits the spring : A 250 g block is dropped onto a relaxed vertical spring that has a spring constant of k = 3.5 N/cm, What is the speed of the block just before it hits the spring
What tube diameter is needed if water level in tube is rises : An open, clean glass tube (theta = 0 degrees) is inserted vertically into a pan of water. What tube diameter is neededif they water level in the tube is to rise one tube diameter (dueto surface tension)
Explain the following command lines : For example, sed 's/fox/ox/g' file will replace all occurance of fox with ox and not the just the first one in file.
Determine the angle-theta of the ramp with a constant speed : A 40lb, .8ft diameter, 1ft tall cylindrical tank slides slowly down a ramp with a constant speed of .1ft/s. The uniform-thicknessoil layer on the ramp has a viscosity of .2lb*s/ft^2.
What is the conversion rate for parts per million by volume : What is the conversion rate for parts per million by volume (ppmv)conversion. How is this converted into atm, Pa, and torr
Create a subdirectory of the current directory : View without using gunzip but use the tar instead. (Hint: ?nd the right option to use from the man page).
What is the concentration in ppm at the downstream reach : Five million gallons per day (mgd) of a conservative substance,with concentration of 10 mg/L is released into a stream having anupstream flow of 10.0 mgd and a substance concentration of 3 mg/L.Assume complete mixing.

Reviews

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd