rc.subr (155570) | rc.subr (155719) |
---|---|
1# $NetBSD: rc.subr,v 1.60 2003/07/26 05:13:47 lukem Exp $ | 1# $NetBSD: rc.subr,v 1.60 2003/07/26 05:13:47 lukem Exp $ |
2# $FreeBSD: head/etc/rc.subr 155570 2006-02-12 12:57:07Z flz $ | 2# $FreeBSD: head/etc/rc.subr 155719 2006-02-15 14:37:35Z ceri $ |
3# 4# Copyright (c) 1997-2002 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# This code is derived from software contributed to The NetBSD Foundation 8# by Luke Mewburn. 9# 10# Redistribution and use in source and binary forms, with or without --- 220 unchanged lines hidden (view full) --- 231# Prints the PIDs of any matching processes, space separated. 232# 233# If interpreter == ".", check the following variations of procname 234# against the first word of each command: 235# procname 236# `basename procname` 237# `basename procname` + ":" 238# "(" + `basename procname` + ")" | 3# 4# Copyright (c) 1997-2002 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# This code is derived from software contributed to The NetBSD Foundation 8# by Luke Mewburn. 9# 10# Redistribution and use in source and binary forms, with or without --- 220 unchanged lines hidden (view full) --- 231# Prints the PIDs of any matching processes, space separated. 232# 233# If interpreter == ".", check the following variations of procname 234# against the first word of each command: 235# procname 236# `basename procname` 237# `basename procname` + ":" 238# "(" + `basename procname` + ")" |
239# "[" + `basename procname` + "]" |
|
239# 240# If interpreter != ".", read the first line of procname, remove the 241# leading #!, normalise whitespace, append procname, and attempt to 242# match that against each command, either as is, or with extra words 243# at the end. 244# 245_find_processes() 246{ --- 1159 unchanged lines hidden --- | 240# 241# If interpreter != ".", read the first line of procname, remove the 242# leading #!, normalise whitespace, append procname, and attempt to 243# match that against each command, either as is, or with extra words 244# at the end. 245# 246_find_processes() 247{ --- 1159 unchanged lines hidden --- |