Jump to content

Store one line at a time in array - Bash

Guest PCGenius101

Recommended Posts

Guest PCGenius101

I have a file and in each file there is a link on each line. I need to read each line one at a time and then store each line in an array. I need to do this all in Bash. I have been doing lots of searching and have found out how to read one line at a time but not store it in an array. Any help is appreciated. Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...