#!/usr/bin/env fctool # reads from pipe and appends prefix and suffix %foriter line{line_i} {line} suffix %endfor