shell script kommands
Dear Debian Users!
Is there a possibility to do this with a bash script?
I like to analyze a file like one of this example:
line1
line2
line3
line4
line5
line6
line7
Each line of this file i like to put into one variable, so i have 7
variables witch contains ever one line of this file.
Cause this 7 lines also could contains 500 or more lines i should
use the bash kommand 'for'. Now my questios: Can i use variables
like LINE(1), LINE(2).... LINE(7) and so on? If yes how is the
syntax? And which kommand i can use to put one of this lines into a
variable?
Timo
--
Wer Käse mag, der futtert auch Füsse!
:-)
Reply to: