Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
About Us
986
Questions
785
Answers
Interview Preparation mode
beta
Funny Facebook Status
Enter your email address
All categories
SQL Server Interview Questions and Answers
(197)
SSIS Interview Questions and Answers
(54)
SSRS Interview Questions and Answers
(9)
SSAS Interview Questions and Answers
(29)
.NET Interview Questions and Answers
(186)
Oracle Interview Questions and Answers
(122)
Java Interview Questions and Answers
(32)
UNIX Interview Questions and Answers
(47)
Networking Interview Questions and Answers
(17)
MySQL Interview Questions and Answers
(30)
HR Interview Questions and Answers
(237)
General Interview Questions and Answers
(9)
Other Interview Questions and Answers
(8)
Job Openings
(3)
Greenplum Database Interview Questions and Answers
(5)
Can I find several patterns and refer to them in the replacement string?
Nice?
Vote!
asked
1 year
ago
in
UNIX Interview Questions and Answers
by
R
(
19,530
points)
unix-linux-interview-question
sed-tricks
sed
1 Answer
Nice?
Vote!
Yes, use (pattern) and then refer to your patterns as \1, \2, \3 and so on.
answered
1 year
ago
by
siva
(
10,720
points)
–
edited
1 year
ago
by
R
Related questions
Nice?
Vote!
1
answer
How do you inject text with sed?
asked
1 year
ago
in
UNIX Interview Questions and Answers
by
R
(
19,530
points)
unix-linux-interview-question
sed
sed-tricks
Nice?
Vote!
1
answer
How do you substitute strings with sed?
asked
1 year
ago
in
UNIX Interview Questions and Answers
by
R
(
19,530
points)
unix-linux-interview-question
sed-tricks
sed
Nice?
Vote!
1
answer
What is sed?
asked
1 year
ago
in
UNIX Interview Questions and Answers
by
R
(
19,530
points)
unix-linux-interview-question
sed-tricks
sed
Nice?
Vote!
Add
Ans!
What were the limits of authority in your previous job? Did you ever find it necessary to go beyond them?
asked
1 year
ago
in
HR Interview Questions and Answers
by
siva
(
10,720
points)
hr-interview-question
independence-interview-question
Nice?
Vote!
1
answer
What can go wrong if you replace && with & in the following code: String a=null; if (a!=null && a.length()>10) {...}
asked
1 year
ago
in
Java Interview Questions and Answers
by
anonymous
java-interview-questions
ioexceptipon-interview-questions