Put bytes into a file

Public Library0.1.1updated 10 months ago33.02 KB
COPY
wapm install liftm/pee

Need help using WAPM?

chevron_rightGet 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

10 months ago

Unpackaged size

33.02 KB

License

Apache-2.0

Collaborators

  • liftm avatarliftm

Run it in the browser