ladybird/Userland/Utilities
Andrew Kaster 036828ff43 Userland: Use getline instead of Core::File::standard_input in grep
Core::IODevice (which Core::File inherits from) does not have a
reasonable way to block for a line. grep was spinning on
IODevice::read_line, passing endless empty strings to the matcher
lambda. Use getline instead, which will at least block in the Kernel for
characters to be available on stdin and only return full lines (or eof)
2021-01-25 09:41:19 +01:00
..
adjtime.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
allocate.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
aplay.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
arp.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
avol.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
base64.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
basename.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
beep.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
cal.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
cat.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
checksum.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
chgrp.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
chmod.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
chown.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
chres.cpp WindowServer: Add a "scale" parameter to the SetResolution message and plumb it through 2021-01-15 22:05:08 +01:00
chroot.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
clear.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
CMakeLists.txt Build: Replace explicit use of mv(1) in CMake file with file(RENAME). 2021-01-22 11:29:52 +01:00
copy.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
cp.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
crash.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
cut.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
date.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ddate.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
df.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
dirname.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
disasm.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-22 22:14:30 +01:00
disk_benchmark.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
dmesg.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
du.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
echo.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
env.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
expr.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
false.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
fgrep.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
find.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
flock.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
functrace.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
gml-format.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
grep.cpp Userland: Use getline instead of Core::File::standard_input in grep 2021-01-25 09:41:19 +01:00
gron.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
gunzip.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
head.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
hexdump.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
host.cpp Kernel+Userland: Remove "dns" pledge promise alias 2021-01-22 19:39:44 +01:00
hostname.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
html.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
id.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ifconfig.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ini.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
jp.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
js.cpp LibC+Everywhere: Remove open_with_path_length() in favor of open() 2021-01-12 23:34:01 +01:00
keymap.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
kill.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
killall.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ln.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ls.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
lsirq.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
lsof.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
lspci.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
man.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
md.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
misbehaving-application.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mkdir.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mkfifo.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mknod.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
modload.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
modunload.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
more.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mount.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-22 22:14:30 +01:00
mv.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
nc.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
nl.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
notify.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ntpquery.cpp Kernel+Userland: Remove "dns" pledge promise alias 2021-01-22 19:39:44 +01:00
open.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
pape.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
passwd.cpp passwd: Drop "rpath" pledge after opening files 2021-01-22 19:39:44 +01:00
paste.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
pidof.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ping.cpp Kernel+Userland: Remove "dns" pledge promise alias 2021-01-22 19:39:44 +01:00
pmap.cpp pmap: Sort memory regions in output 2021-01-24 19:15:34 +01:00
printf.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
pro.cpp Everywhere: Remove more <AK/SharedBuffer.h> includes 2021-01-17 00:04:42 +01:00
profile.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ps.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
purge.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
readelf.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
readlink.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
realpath.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
reboot.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
rm.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
rmdir.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
seq.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
shuf.cpp Userland: Implement shuf for basic shuffling 2021-01-20 19:19:34 +01:00
shutdown.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
sleep.cpp sleep: Support fractional sleep lengths 2021-01-23 08:53:32 +01:00
sort.cpp Userland: Fix broken newlines in 'sort' 2021-01-20 19:19:34 +01:00
stat.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
strace.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
su.cpp su: Drop "id" pledge after switching user 2021-01-22 19:40:30 +01:00
sync.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
syscall.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
sysctl.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tail.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tar.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tee.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test_efault.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test_env.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test_io.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-bindtodevice.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-compress.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-crypto.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-22 22:14:30 +01:00
test-js.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-22 22:14:30 +01:00
test-pthread.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-unveil.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-web.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
test.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
top.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
touch.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tr.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tree.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
true.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
truncate.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tt.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tty.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
umount.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
uname.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
uniq.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
unzip.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
uptime.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
useradd.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
userdel.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
utmpupdate.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
w.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
watch.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
wc.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
which.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
whoami.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
xargs.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
yes.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00