Solved

regular expression for sed to represent <<......>>

Posted on 2001-08-08
2
301 Views
Last Modified: 2010-04-21
Hi Experts,

What regular expression should I use to specify search pattern for sed to represent <<...>>, where ... can be anything, e.g. <<NA01>> or <<DFA02>> or <<Hello world!>>

Thank you,
Denis.
0
Comment
Question by:davdonin
2 Comments
 
LVL 5

Accepted Solution

by:
ecw earned 50 total points
ID: 6363263
 <<.*>>
eg.
  sed 's/<<.*>>/something else/g'
0
 
LVL 2

Author Comment

by:davdonin
ID: 6363313
Thanks a lot!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now