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

  Describe a non-agile alternative

Include a cover page containing the title of the assignment, the student's name, the professor's name, the course title, and the date. The cover page and the reference page are not included in the required assignment page length.

  Difference between encapsulation and information hiding

Discuss and explain the difference between encapsulation and information hiding. In addition, describe the role both of these concepts play in helping to make designs more robust and extensible.

  Describe five forces of porter-s competitive forces model

Describe each of the five forces of Porter's competitive forces model and explain how Internet impacts each one. List and explain each of the six steps of knowledge management system cycle.

  Program calculate the total resistance in a circuit

A simple program is needed to compute the total resistance in a circuit. The resistors can either be in series or in parallel but not both.

  Explain the importance of software testing

Evaluate the issues and challenges associated with software engineering.  Compare and contrast software development process models.

  Problem on software requirement

Use the Logisim simulator to create your circuits - Problem on software requirement

  Question about hierarchy chart

Assume your local community college is seeking your help to develop a hierarchy chart. The college administrator gives you with the following data.

  Analyze advantages and disadvantages of erp implementations

Analyze the advantages and disadvantages of ERP implementations as a method of reuse?

  Designing e-r diagram for each product at pvf

Suppose that at PVF, each product. Design E-R diagram for this situation and state minimum and maximum cardinalities on the diagram.

  Termination time of the project

Throughout the implementation phase of a project, as a project manager you are facing many team issues and these issues are creating risks that you did not anticipate during design phase.

  Discuss cisc, risc, pipelining and parallel processing

Write a 2 page research paper (excluding the title page) on computer architecture, and discuss CISC, RISC, pipelining, and parallel processing.

  Recognise the importance of content and instructional design

Following the System Development Life Cycle (SDLC) you are required to plan and scope your project and provide a detailed report of your plan - see Topic 2 and associated readings.

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