Class TextInShEncoder

java.lang.Object
com.aoapps.encoding.MediaEncoder
com.aoapps.encoding.TextInShEncoder
All Implemented Interfaces:
ValidMediaFilter, ValidMediaInput, ValidMediaOutput, Encoder

@ThreadSafe @Immutable public final class TextInShEncoder extends MediaEncoder

Encodes arbitrary text for use in a shell script.

This implementation is based on Bash, it is expected to be compatible with all shells implementing ANSI-C quoting. Per this Stack Exchange Answer, this includes ksh, zsh, and some builds of ash.

Author:
AO Industries, Inc.