HP3000-L Archives

January 2001, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Sohrt, Jeff" <[log in to unmask]>
Reply To:
Sohrt, Jeff
Date:
Fri, 26 Jan 2001 17:45:11 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Thanks Glenn,
So this is akin to MPE's
![expression]

???
j 'posix uninformed' ds

> It may help to understand what backtics do.
>
> Basically, `expression` says to execute the expression, then
> substitute
> the result.  Thus,
>
>    kill `head -n 1 /SENDMAIL/PUB/etc/sendmail.pid`
>
> says to read the first line (head -n 1, which normally I see
> as head -1)
> of /SENDMAIL/PUB/etc/sendmail.pid, and use the result (i.e., the first
> line of the file) as a parameter to kill.
>
> Obscure syntax, but handy functionality.
>
> --Glenn
>

ATOM RSS1 RSS2