Solved

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

Posted on 2001-08-08
2
305 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

778 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