https://software.codidact.com/categories/38/tags/4854.rssNew Posts Tagged 'console' - Software DevelopmentSoftware Development - Codidact2022-02-18T09:36:30Zhttps://software.codidact.com/posts/285566Continuously read from piped input using VimHyperlynxhttps://software.codidact.com/users/534452022-01-13T00:44:53Z2022-02-18T09:36:30Z<p>In Vim, it's possible to tell it to read from stdin instead of a file, by using <code>vim -</code>. This is so that you can pipe the output of one command into Vim, to view/edit it there.</p>
<...https://software.codidact.com/posts/281148How to read lines into an array in BashLVx0https://software.codidact.com/users/530702021-03-22T14:47:06Z2021-09-01T04:53:06Z<p>I wish to fill an array with strings, using Bash scripting. The strings are in a file, one per line. Here is what I've tried:</p>
<pre><code>declare -a my_array=()
while read line; do
m...