#2026: sed syntax error in /etc/rc.d/rcsysinit.d/S05modules
-------------------------+--------------------------------------------------
Reporter: ths | Owner: [email protected]
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.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page