Date: Sun, 19 May 2002 02:13:54 -0700 From: Alfred Perlstein <bright@mu.org> To: Bakul Shah <bakul@bitblocks.com> Cc: Dima Dorfman <dima@trit.org>, Paul Herman <pherman@frenchfries.net>, Giorgos Keramidas <keramida@FreeBSD.ORG>, current@FreeBSD.ORG Subject: Re: mergemaster(8) broken -- uses Perl Message-ID: <20020519091354.GR20683@elvis.mu.org> In-Reply-To: <200205190730.DAA10754@marlborough.cnchost.com> References: <200205190707.DAA27939@marlborough.cnchost.com> <200205190730.DAA10754@marlborough.cnchost.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Bakul Shah <bakul@bitblocks.com> [020519 00:30] wrote:
> > $ stat -a stat
>
> Oops! A few lines got eaten!
>
> $ stat -a stat
> May 19 00:24:42 2002|48|May 19 00:24:42 2002|291846|-|bakul|0|262301|1|May 19 00:24:42 2002|rwxr-xr-x|1095744|23996|-|bakul|stat
> $ stat -a -n stat
> 1021793082|48|1021793082|291846|0|1001|0|262301|1|1021793082|755|1095744|23996|100000|1001|stat
Bow to me.
echo 'ibase=2\nobase=8\n' \
`ls -ld ${FILE} | cut -f 1 -d " " | \
sed -e 's/[rwx]/1/g' -e 's/[^rwx1]/0/g'` | \
bc
--
-Alfred Perlstein [alfred@freebsd.org]
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020519091354.GR20683>
