Question

egrep (2b|[^b]{2}) Testfile - I am trying to understand what the expression between the brackets mean?...

egrep (2b|[^b]{2}) Testfile - I am trying to understand what the expression between the brackets mean? I think I would get lines from my test file that either meet the 2b or the [^b]{2} requirement but not sure how to interpret

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Please see the attached screenshot.

shreya--bash-80x24 shreyas-MBP: shreya$ cat > testfile This is 2b testng b is not read 2b or not b shreyas-MBP shreya$ egrep

Add a comment
Know the answer?
Add Answer to:
egrep (2b|[^b]{2}) Testfile - I am trying to understand what the expression between the brackets mean?...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • I am learning about compilers and am trying to understand what goes on in the separate...

    I am learning about compilers and am trying to understand what goes on in the separate phases. The questions I have are dealing with a 2-phase compiler. So, the front-end and the back-end. In the front-end is where we have the lexical analysis, syntax analysis, and semantic analysis. In the back-end is where we have instruction selection, register allocation, and instruction scheduling. I am given some situations that produce errors and told to determine if the error could be detected...

  • The issue I am having is trying to understand how to make a 3d model of...

    The issue I am having is trying to understand how to make a 3d model of this equation. I am not quite sure what the Ca(OH)2 means. Specifically the 2 at the end of the (OH)2. Does that mean O and H have 2 atoms? and if so, how do I balance it? In a 3-D model. 1 Ca(OH)2 + 2 HCI + 1 CaCl2 + 2 H2O

  • In python, PART A: I am trying to get a dictionary with size(4, 5, 6) as...

    In python, PART A: I am trying to get a dictionary with size(4, 5, 6) as keys and an array for key containing a list of values (words from file of respective size) associated with those keys I am reading from a file of strings, where I am only interested with words of length 4, 5, and 6 to compute my program reading the text file line by line: At first, I have an empty dictionary then to that I...

  • I am trying to understand how to manipulate the Gregorian Calendar so that I can convert...

    I am trying to understand how to manipulate the Gregorian Calendar so that I can convert my answer into a string format. What I'm hoping to do is to do is return string to a different file to add to a string in separate file (Object-oriented exercise between files), but once I can convert this into a string I can convert this file on my own. I added the System.out.println() to show what the results should look like. In other...

  • In SPSS, I am reviewing the test of normality. I am trying to see what is the relationship between age and exercise time. Ages range from 20 - 24 with 100 participants. I know I need to test for the d...

    In SPSS, I am reviewing the test of normality. I am trying to see what is the relationship between age and exercise time. Ages range from 20 - 24 with 100 participants. I know I need to test for the dependent variability normality first, with the age being independent and the exercise time being dependent. I know that greater than 0.05 is normally distributed and less than 0.05 is not normally distributed. But lets say four of my age groups...

  • 2. "What would you say..." scenarios Scenario A: "I am trying to get pregnant, and my...

    2. "What would you say..." scenarios Scenario A: "I am trying to get pregnant, and my doctor said I need to increase my folate intake. What foods will provide folate for me?"- a. b. Scenario B: "I am in my third trimester and am concerned about have gained 25 pounds. When I became pregnant I was a normal weight, but now I am concerned I am unhealthy.". Scenario C: "My mother fed me formula when I was an infant, and...

  • What does a 2-sided p value of 0.04 mean? (I am not asking if it is...

    What does a 2-sided p value of 0.04 mean? (I am not asking if it is statistically significant.) (Make sure you interpret the number 0.04 as part of your answer

  • Please be clear with steps. I am trying to understand the process and concept. Thank you...

    Please be clear with steps. I am trying to understand the process and concept. Thank you in advance. 8.12 water enters a tube at 27 0 with a llow rate of 450 kg/h. The heat transfer from the tube wall to the fluid is given as q(W/m)-ax, where the coefficient a is 20 W/m2 and x (m) is the axial distance from the tube entrance (a) Beginning with a properly defined differential con trol volume in the tube, derive an...

  • I am having trouble differing between Sn1, Sn2, E1, and E2 reactions. Please help me understand...

    I am having trouble differing between Sn1, Sn2, E1, and E2 reactions. Please help me understand how to approach these problems. I've attempted to answer them, but I am not confident in my answers. Please show me how to get to the correct answer. 1. [is it A?] 2. [Is it C?] 3. [is it 3 and 4?] A) I B) II C) III D) IV E) I and II F) III and IV Predict the mechanism (S\2, E2, SN1,...

  • I am trying to read from a file with with text as follows and I am...

    I am trying to read from a file with with text as follows and I am not sure why my code is not working. DHH-2180 110.25 TOB-6851 -258.45 JNO-1438 375.95 CS 145 Computer Science II IPO-5410 834.15 PWV-5792 793.00 Here is a description of what the class must do: AccountFileIO 1. Create a class called AccountFileIO in the uwstout.cs145.labs.lab02 package. (This is a capital i then a capital o for input/output.) a. This class will read data from a file...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT