Assigning a value to a variable also creates an empty file named as the value in bash
I have a small bash file that when I run it, several empty files appear after the script is ran.
The file contains several records: Release 438 Release 448 Release 453 Release 466 When done, the directory has 5 new files, 000 438 448 453 466 Code:
#!/bin/bash |
Code:
if [ "$bnum" > "$BMAX" ]; then |
Thanks!
Quote:
Thank you keefaz |
There is also no reason to use an external command like awk or even where you use cut:
Code:
# |
All times are GMT -5. The time now is 02:20 AM. |