in reply to (OT) What does rec mean in a bash script?

Did you try this?
man rec