[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invoke tilde expansion on quoted string

From: Greg Wooledge
Subject: Re: invoke tilde expansion on quoted string
Date: Mon, 8 Apr 2013 09:39:15 -0400
User-agent: Mutt/

On Sun, Apr 07, 2013 at 01:13:09AM -0700, Linda Walsh wrote:
> > getent passwd 'Domain Administrator'
> Domain Administrator:x:500:18:Domain Admin accnt:/home/root:/bin/bash

getent(1) is fine where it's available, but it's not a standard tool,
so you can only use it on systems that have it.

If one's hypothetical tilde-expanding script only needs to run on recent
Linux systems, for example, then getent is a good approach.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]