|Next||System Programming in Perl||32|
#!/bin/sh echo "I like pie."; echo "Especially blackberry.";
The first echo exits
The shell then runs the second echo, which writes Especially blackberry starting at position 12
What if the file pointer change hadn't survived the death of the first echo?
The second echo would have written at position 0
It would have overwritten the data left by the first echo!