Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2002 04:35:08 +0200
From:      Dominik Lupinski <yhpx@alpha.net.pl>
To:        ann kok <annkok2001@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: script
Message-ID:  <20020416043507.A70772@ember.rtk-local>
In-Reply-To: <20020416020000.95326.qmail@web20110.mail.yahoo.com>; from annkok2001@yahoo.com on Mon, Apr 15, 2002 at 07:00:00PM -0700
References:  <20020416020000.95326.qmail@web20110.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 15, 2002 at 07:00:00PM -0700, ann kok wrote:

[...]
> I have a file, data is as column
> 
> File
> ----
> ann
> angel
> brown
> manuel
> 
> How do I change the data as line? 
> ann angel brown manuel

  I just came across that stupid solution: :)
  ~$ cat file | xargs
     ann angel brown manuel
  ~$


> Thank you

  You're welcome


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?20020416043507.A70772>