-1

how to validate the following file content

that should be include single integer/float number by bash Regular Expression or any other idea with awk/sed

 cat  /var/VERSION/Version_F35_project_usa
 2.8
jango
  • 59
  • 2
  • 2
  • 12

1 Answers1

-1

Your regexp is /\A\d+.?\d+\Z/g