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
Write a program that keeps taking integers until the user enters in python
soldi70 [24.7K]

int main {

//variables

unsigned long num = 0;

std::string phrase = " Please enter your name for confirmation: " ;

std::string name;

//codes

std::cout << phrase;

std::cin>> name;

while ( serial.available() == 0 ) {

num++;

};

if ( serial.avaliable() > 0 ) {

std::cout << " Thank you for your confirmation ";

};

};

3 0
3 years ago
What is the best programming language
pashok25 [27]

Answer:

Ther are 8 best programming language :

• Javascript

• Swift

• Scala

• Go

• Python

• Elm

• Ruby

• C#

4 0
3 years ago
Which kind of page would you insert if you created a long document and wanted to have an introductory page?
borishaifa [10]

A cover page is what you would choose

6 0
3 years ago
Read 2 more answers
Which of the following best define grit
andreyandreev [35.5K]

Definition of Grit. According to researchers at the University of Penn- sylvania, grit is defined as "perseverance and passion for long-term goals.” Grit involves working strenuously to- ward challenges, maintaining effort and interest over years despite failure, adversity, and plateaus in progress.

Hope This Helps!      Have A Nice Day!!

8 0
3 years ago
What are my 2 favorite songs by Lil Uzi Vert
Ksivusya [100]

Answer:

i think it's PTSD and Bad and Boujee i think

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • Assuming each reference costs 1 byte, and each piece of data/info costs 1 byte as well. When will a doubly linked list be more a
    12·1 answer
  • Does anyone know answers for reading plus level h and j
    13·2 answers
  • If two different devices try to transmit to a common device at the same time, switches suffer from a problem in the collision do
    13·1 answer
  • 1. Write a shell script, renumber.sh, that will rename all the files in a directory. The first argument is a base name, second a
    13·1 answer
  • Compare and contrast CD and DVD?
    10·2 answers
  • What is the 5 basic steps of computer programing?
    6·1 answer
  • write a python function that takes the largest and smallest numbers in a list, and swap them (without using min() or max() )
    13·1 answer
  • 5
    15·1 answer
  • Convert the following decimal number into octal number-147​
    11·1 answer
  • The temperature at 8 AM was 44°F and at noon it was 64°F. what was the percent of change from 8 AM to noon?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!