The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 03-06-2006
vino's Avatar
vino vino is offline
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,710
Quote:
Originally Posted by shriashishpatil
Vino,

seems some syntax problem with sed.

$ sed -n -e '/OBJECT TYPE/{N;p}' test1.dat
sed: command garbled: /OBJECT TYPE/{N;p}
$
Code:
sed -n -e "/OBJECT TYPE/{N;p}" test1.dat
?
Reply With Quote