#!/bin/sh # BSD 3-Clause 2023-2024 by Kevin Bloom. # # Comment Line (cl) # This script is meant to be ran from ait(1). $1 is to be the comment # syntax for a _single line_ comment. For example, if you wanted to # comment out a block of code in C, you'd selected a region and type: # M-x cl // # and it will place // at the beginning of lines within the region. awk -v c="$1" '{ print c $0 }'