Hello,
it may be a simple question to you, i just need to read a line from terminal and have to assign to a a variable the command i used was
`read $read2`;
after executing the program it prompts for input, but it doesnot assign to a variable, when i print the $read2 nothing comes out.
Do i am using a wrong command? please suggest me what to do.
With regards,
Bijoy Babu
it may be a simple question to you, i just need to read a line from terminal and have to assign to a a variable the command i used was
`read $read2`;
after executing the program it prompts for input, but it doesnot assign to a variable, when i print the $read2 nothing comes out.
Do i am using a wrong command? please suggest me what to do.
With regards,
Bijoy Babu