久保田です。
From: Fumitoshi UKAI <ukai@debian.or.jp>
Subject: [debian-devel:12026] Re: user-ja and root
Date: Wed, 5 Apr 2000 15:42:32 +0900
> $< == 0 ?
>
> $ENV{HOME} みてるから $ENV{HOME} で判断でもいいかも。
いろいろ方法がありますね。難しく考えすぎてたみたいです。
ユーザー判別の目的が、$ENV{HOME} への書き込みにあるので、
$ENV{HOME} で判断するのがよさそうですね。
ありがとうございました。
---
Tomohiro KUBOTA <kubota@debian.or.jp>
http://surfchem0.riken.go.jp/~kubota/