However, don't let the efficiency police stop you! If the cat version is easier for you to read and remember, use it. In scripting, readability often trumps micro-optimization.
cat < config.txt # This is an auto-generated config file db_name=main_db user=admin EOF Use code with caution. Common Scripting Combinations cat script
The cat command is a testament to the Unix philosophy: do one thing, and do it well. Whether you are merging gigabytes of logs, generating configuration files on the fly, or creating self-extracting archives, cat is an indispensable tool in your scripting toolkit. However, don't let the efficiency police stop you
cat extract.sh cute_cat_image.jpg > self_extracting_script.run cat The cat command is a testament to
A custom character set where players must figure out who the "Demon Cat" is before they are eliminated.
If you are writing a setup script that needs to generate a configuration file, this is the cleanest way to do it:
If you are looking for a literal dialogue script, you might be thinking of the episode from The Loud House .