Put bytes into a file

Public Library0.1.1updated 2 years ago33.82 kB
COPY
wapm install liftm/pee

Need help using WAPM?

Get started here

Commands

pee

Files

  • Readme.md

Modules

Pee

Put bytes into a file. A bit like tee, but without the output.

Mostly made for webassembly.sh.

Can also be useful if you don't like constructs like

echo 42 | sudo tee /proc/sys/... >/dev/null
# or
sudo bash -c 'echo 42 >/proc/sys/...'

Example:

echo please sit down when you | sudo pee /dev/kmsg
sudo pee /dev/kmesg convenience arguments
sudo dmesg -T | tail

<1klast week

Latest version

0.1.1

Latest updated

2 years ago

Unpackaged size

33.82 kB

License

Apache-2.0

Collaborators

  • liftm avatarliftm

Run it in the browser