fai-sed exit code
lange at informatik.uni-koeln.de
Fri Jan 10 16:02:21 CET 2020
>>>>> On Fri, 10 Jan 2020 14:47:15 +0100, Andreas Heinlein <aheinlein at gmx.com> said:
> can you explain the purpose of fai-sed exiting with '1' if the file was changed? By default, this would mean a script *fails* with this exit code if a file was actually changed.
> Would also be nice to update the example scripts to use fai-sed instead of sed.
I want to distinguish if fai-sed has nothing to change or changed the
file. Therefore in one the cases it has to return and exit code != 0.
Do you have any better idea?
More information about the linux-fai