[LFS Trac] #2026: sed syntax error in /etc/rc.d/rcsysinit.d/S05modules

LFS Trac trac at linuxfromscratch.org
Thu Jun 7 04:14:55 PDT 2007


#2026: sed syntax error in /etc/rc.d/rcsysinit.d/S05modules
-------------------------+--------------------------------------------------
 Reporter:  ths          |       Owner:  lfs-book at linuxfromscratch.org
     Type:  defect       |      Status:  new                          
 Priority:  normal       |   Milestone:                               
Component:  Bootscripts  |     Version:  SVN                          
 Severity:  normal       |    Keywords:                               
-------------------------+--------------------------------------------------
 the line in /etc/rc.d/rcsysinit.d/S05modules that finds out the current
 dmesg level has a syntax error in the last sed command


 {{{
 # cat /proc/sys/kernel/printk | sed 'l 1' | sed -n '2~0p' | sed 's/\\\//'
 sed: -e expression #1, char 7: unterminated `s' command
 }}}


 this should be sed {{{ 's/\\//' }}} (one less backslash)

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2026>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list