-
Notifications
You must be signed in to change notification settings - Fork 0
atw31337/dcap
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# Title: dcap # Description: dcap is a Python3 script that removes the specified number of lines from the head of a file # Author: Andrew T. Withers ([email protected]) ############################################################################################################# Usage: dcap -n <NUM> [OPTION]... <INPUT FILE> -o <FILE> Output file -n <NUM> Output all lines except the first n number of lines -e Edit input file. Overwrites the original file. Cannot be used with -o There is no default number of lines to be removed; therefore, the -n option must be specified. The output can be saved to file using either -o OR -e. -o will overwrite the specified output file if it already exists or create the file if it does not. -e will overwrite the original input file with the output of the command. If neither output option is selected, then the output is written to stdout.
About
A Python script that removes a specified number of lines from the beginning of a file
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published