Form text and placeholders

Posted by Bob_Mesibov on Jan 13, 2021 5:15 AM EDT
BASHing data
Mail this story
Print this story

The three miscellaneous demonstrations in this post all have something to do with form text and placeholders. Form text is text saved as a template and variable text is added as needed. A good example is a form letter. The basic text of the letter is stored as a document, and the date, the addressee and the salutation are variable bits that get added before the letter is sent. Sometimes the missing text is marked with a placeholder like "{DATE}". Form text and placeholders in plain-text documents are easy to deal with on the command line, as shown below.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.