
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
9. Given s=’/acct/1,696,807/name/’, which of the following statements extracts the number with commas?
options
a) expr "$s" : ".*\/\([0-9,]*\)\/"
b) expr "$s" : ".*acct\/\(.*\)\/"
c) expr "$s" : ".*t\/\(.*\)name.*"
d) expr "$s" : ".*acct\/\([0-9a-zA-Z]*\)\/name"
same way with this question too
4. Given s=’/acct/1,696,807/name/’, write a Bash command to extract the numbers without commas. Your command must work for any number of numbers and commas. please in this answer also follow above foemer if you can thanks can you asnswer only no 4 but answer looks like in no 9 options have
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 5 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- The C++ keyword used to declare a character is _____. Group of answer choices chars char character string ------------------ Which of the following is an Assignment? a.) int x;b.) x = 5;c.) y = x + 2; Group of answer choices a b c a and b b and c All of the above None of the abovearrow_forwardwhich functions you would use to read the following string from a users input: "This is a fun day" A. cin >> B. cin.get function c. getline function d. all of the abovearrow_forwardIf the variable x stores the value 8, what will be stored in y after the following statement is executed? y = x / 4 + 12 * 3 A 42 B 36 C 38 D .16arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education