Before Debian, what Linux distribution you were using ?
Red Hat / Fedora Mandrake Suse Slackware Gentoo LFS Always been with Debian Other ( 45 votes ~ 5 comments )
You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.
To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.
This is the comment you were replying to, attached to the article Sysvconfig: How not to go postal over a service :
#9 Re: psp for any UNIX system, my own "service" script Posted by khopesh (129.10.xx.xx) on Thu 21 Feb 2008 at 22:06 ... I usually try to update scripts before posting them so they look nice and reflect my latest IT and bourne scripting knowledge; my psl() above fails to let you send arguments to egrep. You can fix that as follows: ... else while [ "${1#-}" != "$1" ]; do # skip over arguments to grep args="$args $1" shift done start="${*%[!]?*+.)$]}" end="${*#$start}" psax |$grep -i $args "$start${end:+[$end]}" fi }
... else while [ "${1#-}" != "$1" ]; do # skip over arguments to grep args="$args $1" shift done start="${*%[!]?*+.)$]}" end="${*#$start}" psax |$grep -i $args "$start${end:+[$end]}" fi }
Posting Format:
Inappropriate comments will be removed.
Some help on entry formatting is available
Username:
Password:
[ Advanced Login ]
Register Account