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
blagie [28]
4 years ago
13

If you were doing a regular expression inside a Linux command line, which special character on the keyboard would give you two p

ossible matches using the example below: car ____ truck
Computers and Technology
1 answer:
Murrr4er [49]4 years ago
6 0

Answer: car | truck

Explanation: The pipe (|) symbol used can be used in regular expression to simply imply OR. This means when used in between expression, can be used to search for all matches of the strings in which it stands in between. In the scenario above, If the pipe symbol is located in between the two strings, such as [ cars | trucks], the expression returns possible occurrence of the strings cars and trucks. It may also be used to locate and return the occurrences of more than 2 strings, such as; string1 | string2 | string3

You might be interested in
A series circuit contains a generator, two devices, and connecting wires. The resistances of the two devices are 15 ohms and 10
rjkz [21]
We know, Voltage drop = Voltage * Resistor / total resistance
Here, voltage = 75 V
Resistor for cal. = 10 Ohm
Total resistance = 10 + 15 = 25 Ohm

Substitute their values,
e = 75 * 10/25
e = 3 * 10
e = 30 V

In short, Your Answer would be Option B

Hope this helps!
6 0
4 years ago
Read 2 more answers
To simplify input management, you are asked, neglecting the handling of exceptions, to write a keyboard class so that the input
NARA [144]

Answer:

dodtzfivlxvjgippiy0fy9eyw8re7z

3 0
3 years ago
(a) Explain the difference between a web browser and a search engine.​
mamaluj [8]

Answer: a browser is your access to the internet, and a search engine allows you to search the internet once you have access.

Explanation:

3 0
3 years ago
Write a program with a loop that lets the user enter a series of positive integers. The user should enter −1 to signal the end o
Fiesta28 [93]

Answer:

import java.util.Scanner;

public class num2 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       int count =0;

       int total = 0;

       System.out.println("Enter the numbers");

       int num = in.nextInt();

       while(num!=-1){

           total = total+num;

           count++;

           System.out.println("Enter the next number");

           num = in.nextInt();

       }

//Compute the average

       double average = (double) total/count;

//Outputs

       System.out.println("Total count of numbers entered "+(count));

       System.out.println("Sum of the numbers "+total);

       System.out.printf("Average is %.2f ",average);

   }

}

Explanation:

  • Using java programming language
  • Import scanner class to receive user input
  • declare variables count and total and initialize to zero
  • Prompt user to enter numbers
  • Use a while statement with the condition while(num!=-1)
  • Within the while body keep prompting user to enter a number, increase count and update total
  • when -1 is entered the loop breaks and average is calculated
  • Use printf() method to print average to 2 decimal places.
5 0
3 years ago
The Leader Motive Profile (LMP) includes a: a. high need for power. b. low need for achievement. c. moderate need for power. d.
algol [13]

Answer:

a. is correct

Explanation:

6 0
4 years ago
Other questions:
  • Se citește un număr natural nenul N. Se umple, pe linii, partea de sub diagonală, inclusiv aceasta, a unui tabel pătratic de dim
    9·1 answer
  • What are the basic components of a Production System?
    6·1 answer
  • Outline the things that Mccann needs to do right away
    13·1 answer
  • Question 4 of 5
    5·2 answers
  • ____________ facilitates the processes that help an organization function by applying information and communication technologies
    5·1 answer
  • What method of heat transfer is used when the sun heats the earth?
    14·1 answer
  • Post as a reply your example of "data, which is processed into information" case - examples should not necessarily be related to
    13·1 answer
  • Which of the following skills do employers in any field expect their employees<br> to have?
    5·1 answer
  • What is a System Software ?
    11·2 answers
  • The U.S. military was instrumental in the rise of the simulation training industry.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!