-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthew Seaman wrote:
> Bill Campbell wrote:
>> On Fri, Jan 26, 2007, James Long wrote:
>>>> Message: 24
>>>> Date: Fri, 26 Jan 2007 09:22:44 -0800
>>>> From: Bill Campbell <[EMAIL PROTECTED]>
&g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill Campbell wrote:
> On Sat, Jan 27, 2007, Matthew Seaman wrote:
>> Bill Campbell wrote:
> ...
>>> Probably the most portable way to do this would be to use awk. A
>>> simple script, homedir, might look like this:
>>>
>>> #!/bin/sh
>>> # getting the
On Sat, Jan 27, 2007, Matthew Seaman wrote:
>Bill Campbell wrote:
...
>> Probably the most portable way to do this would be to use awk. A
>> simple script, homedir, might look like this:
>>
>> #!/bin/sh
>> # getting the backwhacks correct is sometimes ``interesting''
>> homedir=`awk -F: "/^$1:/{p
Bill Campbell wrote:
> On Fri, Jan 26, 2007, James Long wrote:
>>> Message: 24
>>> Date: Fri, 26 Jan 2007 09:22:44 -0800
>>> From: Bill Campbell <[EMAIL PROTECTED]>
>>> Subject: Re: [OT] Does "~" always point to $HOME?
>>> To: freebs
On Fri, Jan 26, 2007, James Long wrote:
>> Message: 24
>> Date: Fri, 26 Jan 2007 09:22:44 -0800
>> From: Bill Campbell <[EMAIL PROTECTED]>
>> Subject: Re: [OT] Does "~" always point to $HOME?
>> To: freebsd-questions@freebsd.org, Bill Campbell
>
> Message: 24
> Date: Fri, 26 Jan 2007 09:22:44 -0800
> From: Bill Campbell <[EMAIL PROTECTED]>
> Subject: Re: [OT] Does "~" always point to $HOME?
> To: freebsd-questions@freebsd.org, Bill Campbell
> <[EMAIL PROTECTED]>
> Message-ID: <[EMAIL P
On Fri, 26 Jan 2007, Joerg Pernfuss wrote:
On Fri, 26 Jan 2007 15:21:14 +0100
Karol Kwiatkowski <[EMAIL PROTECTED]> wrote:
While that's true for most shells, bash, csh, tcsh, etc., it
doesn't work on true Bourne /bin/sh shells (e.g. SCO OpenServer
5.0.6a and earlier and probably others with Be
On Fri, Jan 26, 2007, Joerg Pernfuss wrote:
>On Fri, 26 Jan 2007 15:21:14 +0100
>Karol Kwiatkowski <[EMAIL PROTECTED]> wrote:
>
>> > While that's true for most shells, bash, csh, tcsh, etc., it
>> > doesn't work on true Bourne /bin/sh shells (e.g. SCO OpenServer
>> > 5.0.6a and earlier and probably
On Fri, 26 Jan 2007 15:21:14 +0100
Karol Kwiatkowski <[EMAIL PROTECTED]> wrote:
> > While that's true for most shells, bash, csh, tcsh, etc., it
> > doesn't work on true Bourne /bin/sh shells (e.g. SCO OpenServer
> > 5.0.6a and earlier and probably others with Bell Labs ancestors).
>
> Not sure w
Bill Campbell wrote:
> On Fri, Jan 26, 2007, Dak Ghatikachalam wrote:
>> I write shells script extensively , I have noticed
>>
>> ~ -> gets a subsitution for $HOME
>> ~userid - >gets you the $HOME for that user
>>
>> meaning if you have have logged in as root and if you want to run some
>
On 1/26/07, Bill Campbell <[EMAIL PROTECTED]> wrote:
On Fri, Jan 26, 2007, Dak Ghatikachalam wrote:
>I write shells script extensively , I have noticed
>
>~ -> gets a subsitution for $HOME
>~userid - >gets you the $HOME for that user
>
>meaning if you have have logged in as root and if
On Fri, Jan 26, 2007, Dak Ghatikachalam wrote:
>I write shells script extensively , I have noticed
>
>~ -> gets a subsitution for $HOME
>~userid - >gets you the $HOME for that user
>
>meaning if you have have logged in as root and if you want to run some
>script on oracle home even though
On 1/26/07, Dak Ghatikachalam <[EMAIL PROTECTED]> wrote:
I write shells script extensively , I have noticed
~ -> gets a subsitution for $HOME
~userid - >gets you the $HOME for that user
meaning if you have have logged in as root and if you want to run some
script on oracle home even
I write shells script extensively , I have noticed
~ -> gets a subsitution for $HOME
~userid - >gets you the $HOME for that user
meaning if you have have logged in as root and if you want to run some
script on oracle home even though you logged in as root you can simplly
~oracle/runm
On Thu, 25 Jan 2007, Bill Campbell wrote:
On Thu, Jan 25, 2007, [EMAIL PROTECTED] wrote:
Hello again,
I'm revising some documentation that has examples of running Unix
commands and I want to make sure that my steps are correct, such that I
can substitute the tilde character ('~') for $
On Thu, Jan 25, 2007, [EMAIL PROTECTED] wrote:
>Hello again,
>I'm revising some documentation that has examples of running Unix
>commands and I want to make sure that my steps are correct, such that I
>can substitute the tilde character ('~') for $HOME. The only issue I
>can see
16 matches
Mail list logo