Re: insert file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 28, 2007 9:26 AM, adrian kok <adriankok2000@xxxxxxxxxxxx> wrote:
> Hi
>
> Please help how insert `who` in the third line of the
> file
>
> "head -n 3 file" << `who`

$ ed -s foo <<EOF
> 3r !who
> wq
> EOF
$

John


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux