importing data from a text file to a bash script
I need to import a text file like this below:
AMBI
CBNK
CCXI
CERE
CLACW
CNYD
DAEG
DLIA
DLLR
DNDN
DSGX
HAST
HIBB,
HPOL
IRDMZ
MARK
NEPT
NFEC
NINE
NRCIB
OMER
PLCC
PLPM
PSUN
UNTK
There are 25 entries, I need to pass them into a bash script.
I've been able to do this command manually;
sh stock (symbol) > /home/user/Desktop/stockquote.txt
by inputting the (symbol) manually, I need a a script to do it automatically.
No comments:
Post a Comment