mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
Add a naive /bin/fgrep for testing pipes.
This commit is contained in:
parent
d5d45d1088
commit
18e3ddf605
8 changed files with 56 additions and 8 deletions
|
@ -20,7 +20,7 @@ ssize_t TTY::read(byte* buffer, size_t size)
|
|||
if (nread == (ssize_t)m_buffer.size())
|
||||
m_buffer.clear();
|
||||
else {
|
||||
dbgprintf("had %u, read %u\n", m_buffer.size(), nread);
|
||||
kprintf("had %u, read %u\n", m_buffer.size(), nread);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
return nread;
|
||||
|
|
|
@ -8,6 +8,7 @@ cp -v ../Userland/sh mnt/bin/sh
|
|||
cp -v ../Userland/id mnt/bin/id
|
||||
cp -v ../Userland/ps mnt/bin/ps
|
||||
cp -v ../Userland/ls mnt/bin/ls
|
||||
cp -v ../Userland/fgrep mnt/bin/fgrep
|
||||
cp -v ../Userland/sleep mnt/bin/sleep
|
||||
cp -v ../Userland/date mnt/bin/date
|
||||
cp -v ../Userland/true mnt/bin/true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue