View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001947 | OpenFOAM | Bug | public | 2015-12-11 13:52 | 2015-12-11 14:22 |
Reporter | nsf | Assigned To | henry | ||
Priority | low | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Fedora | OS Version | 23 |
Summary | 0001947: foamSequenceVTKFiles chrases due to missing options in basename | ||||
Description | At least on fedora 23, CENTOS and ubuntu 14.04 basename doesn't have options -s or -a so the script doesn't work due to line 97: NAMES=$(basename -s .vtk -a $FILES | sort -u) On centOS6.2, fedora 23 and ubuntu 14.04 changing line 97 to the following works: NAMES=$(for f in $FILES; do basename $f .vtk;done | sort -u) | ||||
Steps To Reproduce | Run foamSequenceVTKFiles on Fedora 23, CENTOS6.2 or Ubuntu 14.04. | ||||
Additional Information | With the above mentioned fix the script works for me. This is probably the last bug I'll report regarding that specific script. =) I wasn't sure if I should have reported one single bug or the two I have. Since it took you less time to fix the first than it took for me to write the second, perhaps I should have just reported one bug. | ||||
Tags | No tags attached. | ||||