logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

Soak Input - Control Output Files with Sponge | Online Free DevTools by Hexmos

Control output files by soaking input with Sponge. Buffer data before writing to prevent data loss and corruption. Free online tool, no registration required.

sponge

Soak up the input before writing the output file. More information: https://manned.org/sponge.

  • Append file content to the source file:

cat {{path/to/file}} | sponge -a {{path/to/file}}

  • Remove all lines starting with # in a file:

grep {{[-v|--invert-match]}} '^{{#}}' {{path/to/file}} | sponge {{path/to/file}}

See Also