What? Using syswrite as opposed to print has nothing to do with variable interpolation.
I think print is good enough in this case, it's just that print may report the error (ENOSPC or else) later than it actually occurs because of buffering, but I dont think this would be a problem in this case. You can probably still get the position of the error with sysseek after print reports the error I think.
In reply to Re: Re: Block device status and script termination
by ambrus
in thread Block device status and script termination
by ghettofinger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |