Can I create BASH function that will hold text block that can then be called for output to FILE and SCREEN to cut down on code block repetition
7347
how to output text to both screen and file inside a shell script?
62583
How to repeat currently typed in parameter on bash console?
151142
How to change the output of a command if it has been called already?
107177
Looping through the content of a file in Bash
125543
Store output of a command into a ring-buffer
96350
How to enclosure a text block into big square brackets?
62241
How do I set a variable to the output of a command in Bash?
36252
Capturing multiple line output into a Bash variable
47878
How can I comment out a block of text in texmaker?
89250
Pasting multiple lines into IDLE
147923
How do you print the code of a shell function in terminal?
144348
How can I create my own methods which take a block as an argument and which I can call later?
6390
How to preserve the newline character (\n) when capture output of a command in a variable
123173
How can I control block visibility with code?
115050
Displaying and updating a counter in bash
69476
How to create an interactive bash script to collect arguments for a command in linux?
3432
Is there a utility to replace one block type with another within a region?