Class ShValidator

All Implemented Interfaces:
ValidMediaFilter, ValidMediaInput, ValidMediaOutput, NoClose, Closeable, Flushable, Appendable, AutoCloseable

@ThreadSafe public final class ShValidator extends MediaValidator
Although shell scripts can potentially parse and execute with lots of unprintable and binary values, we are validating a more strict subset of characters that are generally text editor and copy/paste friendly. We will consider shell scripts relying on unusual characters, even if technically supported, to be invalid. This choice is made to help isolate bugs and accidental conflations of data and code.

This implementation is based on Bash, but it is expected to be compatible with other shells.

Author:
AO Industries, Inc.