writing array into file
How can we write arrayValues in file?
Lets say arrayName=(1 2 3 4 5) Now if i want to write these arrayValues into file In first line in file :1 In second line in file :2 In third line in file :3 In fourth line in file :4 In fifth line in file :5 |
It will be nice to post the program/script name for the query posted here.
|
Find the script below for which you need bash shell
Quote:
|
Or just:
Code:
#!/bin/bash |
All times are GMT -5. The time now is 04:30 PM. |