Regular Expression
Zur Navigation springen
Zur Suche springen
no "// and empty lines"
grep -v -e"^[//]" /server/www/JSPWiki/conf/jspwiki.policy | grep -v ^\s*$
no comment lines
cat /etc/squid/squid.conf |grep -e"^[^#]"
no comment lines (#), no empty lines, sorted
cat /foo/bar | grep -v -e"^[#]" | grep -v ^\s*$ | sort
hdparm hack to run before writeable mount of root
sed -i 's/BOOTMISC/BOOTMISC HDPARM/g' /sbin/rc