Date: Thu, 24 Jan 2002 13:48:08 +1100 From: Edwin Groothuis <edwin@mavetju.org> To: ann kok <annkok2001@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: commands Message-ID: <20020124134808.I823@k7.mavetju.org> In-Reply-To: <20020124023637.67504.qmail@web20108.mail.yahoo.com>; from annkok2001@yahoo.com on Wed, Jan 23, 2002 at 06:36:37PM -0800 References: <20020124023637.67504.qmail@web20108.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 23, 2002 at 06:36:37PM -0800, ann kok wrote: > I would like to know the commands > > 1/ tail -r doesn't work? What do you mean with "doesn't work" ? > 2/ how to check the word that appears more than one in > the file? for i in `cat .profile | fmt -1 | sort | uniq`; do echo -n "$i "; grep -w -- "$i" .profile | wc -l; done But I think there are easier ways to find it out. :-) Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020124134808.I823>