How can I read the value "5" in the following example to issue 5 copies of file print?
For example.. My output is similar to the code below.
Order: 101 Guest: Raj Phone: xxx-xxx-xxxx 5 x Bananas 5 x Grapes 5 x Apples
how can I read value 5 in the above file and use is as below. If there is a way to get 5 in a variable, I can use it in the lpr command.
lpr output.txt -#