remove_leading_blank_lines: Removes blank lines from the top of a file

Description Usage Arguments Value

View source: R/remove_leading_blank_lines.R

Description

Reads in text (usually from a file), removes any blank lines (or lines containing only whitespace) from the top of the file, (optionally) writes the modified file, invisibly returns the modified text.

Usage

1
remove_leading_blank_lines(input, output = input)

Arguments

input

character path to the file

output

character path to output file (defaults to overwrite input). Set to NA to disable output.

Value

invisibly returns the modified text


pocdata/pocr documentation built on Jan. 5, 2022, 9:54 a.m.