For example, Perl was originally developed as a text-processing and glue language, for the same domain as AWK and shell scripts, but has since become a general-purpose programming language.
PostScript is a Turing complete language, and in principle can be used for any task, but in practice is narrowly used as a page description language.