Hard-coded limits are 3 lines and 80 chars per line. Empty lines are ignored (not counted to the limit). File can be '-' for standard input