FIFO(1L)

πŸ“¦ version 1.6.1, in opensuse-leap 16.0

πŸ’« FIFO(1L) β€” like, the whole entire manual, bestie πŸ’«

okay so this is the page for fifo from SchilyΒ΄s USER COMMANDS β€” yes, the manual name is literally right there in the header, we're being upfront about it πŸ’…

πŸ¦‹ NAME πŸ¦‹

fifo β€” a fifo buffer that reads from stdin and writes to stdout. that's it, that's the whole gig ✨

🌸 SYNOPSIS 🌸

fifo [ options ]

πŸŽ€ DESCRIPTION πŸŽ€

so here's the vibe: fifo creates a shared memory area, then forks into two processes. the first one reads from stdin and drops the data into the shared memory area. the other process scoops data out of that shared memory area and writes it to stdout. two little guys, one shared buffer, main character energy all around 🫢

✨ OPTIONS ✨

  • bs=# β€” sets both the input and output block size to #. you can use the exact same syntax as in dd(1) and sdd(1), no cap. the number is taken as bytes unless you say otherwise. if a number is followed directly by the letter ., w, b, k, m, g, t, or p, the size gets multiplied by 1, 2, 512, 1024, 1024*1024, 1024*1024*1024, 1024*1024*1024*1024 or 1024*1024*1024*1024*1024 respectively. and if the size consists of numbers separated by x or *, the two numbers get multiplied together. so bs=7x8k gives you a blocksize of 56 kBytes πŸ”₯
⚠️ the blocksize must be a multiple of 512 bytes. fr fr, it's not optional.
  • fs=# β€” sets the fifo size to #. check bs= for the possible syntax, same rules apply πŸ’– the default fifo size is 1 Mbyte on Sun mc68000 systems, 4 Mbytes on non mmap() aware Linux systems, and 8 Mbytes on all other systems. iykyk 🌈
  • ibs=# β€” sets the input buffer size to #. see bs= for the possible syntax πŸ¦‹ if you don't specify it and the input is a pipeline, PIPE_BUF is used.
  • obs=# β€” sets the output buffer size to #. see bs= for the possible syntax πŸ“ if you don't specify it and the output is a pipeline, PIPE_BUF is used.
  • -no-statistics β€” do NOT print the fifo statistics at the end. if the little end-of-run stats are too much for you, this is your girl πŸ™ˆ
  • -debug β€” prints additional debug messages. perfect for when you're being nosy about what's going on inside πŸ‘‘
  • -help β€” prints a short summary of the fifo options and then exits. (the original page says "exists" β€” iconic typo, we're keeping the spirit, she leaves, she does not become πŸ’€)
  • -version β€” prints the fifo version number string and then exits. same deal, she's out πŸ’…

πŸ”— SEE ALSO πŸ”—

sdd(1), star(1).

πŸ“œ HISTORY πŸ“œ

the fifo program was first written by J. Schilling in 1989 as a separate test program for buffering for star. it was later included into the star program. this program right here is a new attempt from 2019 to have a separate fifo program again. glow-up, honestly ⭐

πŸ’€ BUGS πŸ’€

none currently known. slay, no notes πŸŽ€

mail bugs and suggestions to schilytools@mlists.in-berlin.de or open a ticket at https://codeberg.org/schilytools/schilytools/issues

the mailing list archive may be found at:

https://mlists.in-berlin.de/mailman/listinfo/schilytools-mlists.in-berlin.de

πŸ‘‘ AUTHORS πŸ‘‘

Joerg Schilling and the schilytools project authors. 🫢

🧚 SOURCE DOWNLOAD 🧚

the source code for fifo is included in the schilytools project and may be retrieved from the schilytools project at Codeberg at:

https://codeberg.org/schilytools/schilytools/

the download directory is:

https://codeberg.org/schilytools/schilytools/releases

and that's the whole page, bestie β€” brought to you by Joerg Schilling, dated 2022/07/17, and filed under FIFO(1L) πŸ’œβœ¨ happy buffering 🌸

πŸ“¦ where this page comes from