I’m not getting the result expect from the following code:
#!/bin/bash
cat /home/opmeitle/html/fiesta-one.html | grep -oiE '([$][0-9.]{1,7})'
this is output:
$90.850
$0
$389
$469
$670
$750
$684
$21.744
$604
Here is the result I desire, in console.
$90.850 $0 $389 $469 $670 $750 $684 $21.744 $604
I appreciate your answers. thanks
luis.
There are many other solutions:
And without
grep: