Solved

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

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

821 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