1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
swat32
3 years ago
13

Write a sed command that will display all lines of the birthday file that do not contain the string March. What was the sed comm

and?
Computers and Technology
1 answer:
Dmitriy789 [7]3 years ago
6 0

Answer:

sed '/march/{d;}' birthdays.txt > result .txt

Explanation:

sed syntax is basically:

<em>sed '/expression/{command;command;...;}' inputfile > outputfile</em>

  • First, for the expression part, we use /march/ to match all lines containing that string.
  • Then for the command part, we only use {d} command to delete every matching line found.
  • The third part contains the input file to process, I have named it birthdays.txt, but it could have been any other file needed.
  • Finally "> result .txt" makes the script output to be saved into a file named result.txt
You might be interested in
To remove a header or footer from a document you can open the header and footer and manually delete the content true or false
romanna [79]

this is true...........................

6 0
4 years ago
Which of the following is NOT a benefit of making digital information and scientific databases openly available across the inter
Eddi Din [679]

Answer:

C. Inaccurate and misleading data can be more easily disseminated to scientific researchers.

Explanation:

The above one is certainly the correct option. We know these kinds of the database as an open database, and these are available for all on the internet. The best example is the World Bank database, Census.org is also a good example. All these databases are a huge collection of data sets with meaningful data. The inaccurate and misleading data is never thought to be spread among the scientific researchers easily as it is not good for research, and requires a huge level of data cleaning. Hence, C. is the correct option here as it is not an advantage.

8 0
4 years ago
What is one reality of web advertising?
frosja888 [35]

it is costly, very costly.

5 0
3 years ago
Im going to find where u live and bring a doctor to give u a tetnus shot
cricket20 [7]

Please dont find me

5 0
3 years ago
BJP4 Self-Check 7.21: swapPairs<br><br> plsssss
Vedmedyk [2.9K]

Answer:

needs more expiation

Explanation:

add a worksheet to the question

6 0
3 years ago
Other questions:
  • A computer system designed to run games is called a
    13·2 answers
  • How to use translate on a website?
    15·1 answer
  • What addresses do not change if you copy them to a different cell?
    7·1 answer
  • Which of the following Internet protocols is used to request and send pages and files on the World Wide Web?
    15·1 answer
  • In online advertising, the term "impression" refers to: the Web site displayed when a user clicks on an advertisement. the measu
    11·1 answer
  • What processes can move a solute against its concentration gradient?
    15·1 answer
  • A qualifier distinguishes the set of objects at the far end of the association based on the qualifier value.
    5·1 answer
  • What are backup storage devices of computer? Why are they necessary in the computer system?​
    9·1 answer
  • In what ways are super computer different from mainframe computers.​
    10·1 answer
  • what must you consider when determining the efficiency of an algorithm? select two choices. group of answer choices the amount o
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!