Jump to content

Store one line at a time in array - Bash


Guest PCGenius101
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...