I have an active log file with date records in it.
I want to delete all records prior to a given date BUT I need to do so "in-place" because the file is currently being written to ?
If I use standard awk or head|tail commands, I lose records that get written at the time of the cleanup.
I want to delete all records prior to a given date BUT I need to do so "in-place" because the file is currently being written to ?
If I use standard awk or head|tail commands, I lose records that get written at the time of the cleanup.