Mailinglist Archive: opensuse (2372 mails)
| < Previous | Next > |
Re: [SLE] How to append text at the beginnig of a file?
- From: Jeffrey Taylor <jeff.taylor@xxxxxxxx>
- Date: Thu, 25 Jan 2001 10:19:27 -0600
- Message-id: <20010125101927.B24763@xxxxxxxxxxxxxxxxxxxxx>
cat header body > tempfile; mv tempfile body
Quoting Martin Mielke <martinm@xxxxxxxxxxxxxx>:
> Dear all,
>
> how can I append a text header to a plain-text file (source code) without
> deleting what's been already there?
>
> I guess, the clue resides on 'man sed' but some examples will be much
> appreciated.
>
>
> Thanks,
>
> Martin
>
>
>
--
I don't do Windows and I don't come to work before nine. -- Johnny Paycheck
Quoting Martin Mielke <martinm@xxxxxxxxxxxxxx>:
> Dear all,
>
> how can I append a text header to a plain-text file (source code) without
> deleting what's been already there?
>
> I guess, the clue resides on 'man sed' but some examples will be much
> appreciated.
>
>
> Thanks,
>
> Martin
>
>
>
--
I don't do Windows and I don't come to work before nine. -- Johnny Paycheck
| < Previous | Next > |