Operate on the body of a file but not the header
Year: 2014
Type: other
Abstract: Sometimes you need to run some UNIX command on a file but only want to operate on the body of the file, not the header. Create a file called body somewhere in your $PATH, make it executable, and add this to it: #!/bin/bash IFS= read -r header printf '%s\n' "$header" eval $@ Now, when you need to run something but ignore the header, use the body command first.
DOI: 10.59350/m7ccz-qwp62
Author: Stephen Turner
Institution: University of Virginia
Language: English
Subfield: Information Systems and Management
Field: Decision Sciences
Domain: Social Sciences
Open Access status: gold
OpenAlex ID: W4417085154
