Skip to content

Instantly share code, notes, and snippets.

@Lanchon
Lanchon / uudecode_gawk.awk
Created February 25, 2026 07:14 — forked from rkitover/uudecode_gawk.awk
fast uudecode in GNU awk and some others (like OpenBSD awk)
#!/bin/sh
# uudecode in GNU awk (and some others, like OpenBSD) decodes stdin to stdout
#
# Copyright (c) 2014, Rafael Kitover <rkitover@gmail.com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.