Answer by Kusalananda for Best way to insert blocks of HTML in bash
Use a here-document:for f in $files; do cat <<END_HTML<tr class="details"><td> f.$DATE </td><td> f.$APPLIANCE </td><td> f.$HOST </td><td> f.$MDL...
View ArticleAnswer by zhangjie for Best way to insert blocks of HTML in bash
You can try the "snippets",many text editor or IDE support this feature. You can customize some template for coding block and name it, then you can type the name and tab to expand it to the coding...
View ArticleBest way to insert blocks of HTML in bash
I have been working on a script that collects data about servers and formats them into a nice html email report. I have been using sed to replace values in a html template so far and that has been...
View Article
More Pages to Explore .....