From 935eccb23be9464091ea0f6be3873c6450ff040c Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 1 May 2022 18:35:18 +0200 Subject: init/cat: read files until EOF --- initrd/long.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 initrd/long.txt (limited to 'initrd/long.txt') diff --git a/initrd/long.txt b/initrd/long.txt new file mode 100644 index 0000000..ed0b66a --- /dev/null +++ b/initrd/long.txt @@ -0,0 +1,7 @@ +this file is longer than 512 characters. each line is exactly 80 characters long +01234567890123456789012345678901234567890123456789012345678901234567890123456789 +0 10 20 30 40 50 60 70 80 +for this file to be over 512 bytes, it needs 512/81 = 7 lines. that's a fun fact + ,_____O> [duck sound] | that's as good of a duck as i can make. it's very good +~|____| | /-- this X is the 513th byte in this file. very coolio + | | ,. . ., , ., | X. here it is. what you've waited for. idk what to say -- cgit v1.2.3