Re: [RFC] Initialisation of ssh-agent
From: Colin Watson (cjwatson_at_debian.org)
Date: 07/23/03
- Previous message: Colin Watson: "Re: bash: can I cd from a script"
- In reply to: HdV_at_DTO.TUDelft.NL: "Re: [RFC] Initialisation of ssh-agent"
- Next in thread: Ryan Nowakowski: "Re: [RFC] Initialisation of ssh-agent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 23 Jul 2003 11:46:52 +0100 To: debian-user@lists.debian.org
On Wed, Jul 23, 2003 at 12:31:51PM +0200, HdV@DTO.TUDelft.NL wrote:
> On Wed, 23 Jul 2003, Colin Watson wrote:
> > ps is probably the most inconsistent command in the entirety of Unix.
> > No, 'ps ux' won't work on Unix systems which take most of their heritage
> > from System V rather than BSD, and there is probably no one set of ps
> > arguments that will work everywhere.
>
> Yeah, I was getting afraid of that after some testing. Would
>
> pgrep -U $USER ssh-agent
>
> be more portable?
Probably less portable, if anything. I don't know of any portable way to
handle process IDs; you have to test the operating system and act
accordingly. :(
If in doubt, you're probably best off dealing with the operating systems
you know about and requesting patches for others while failing
reasonably gracefully. If anybody cares, they'll do something about it.
Cheers,
-- Colin Watson [cjwatson@flatline.org.uk] -- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Colin Watson: "Re: bash: can I cd from a script"
- In reply to: HdV_at_DTO.TUDelft.NL: "Re: [RFC] Initialisation of ssh-agent"
- Next in thread: Ryan Nowakowski: "Re: [RFC] Initialisation of ssh-agent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|