Extract Last Lines From a File
Extract Last Lines From a File
Extract Last Lines From a File is a wrapper for the UNIX tail command, which can be used to select and print out to a file a designated number of lines from the end of a text file.
Quick Start
- To use Extract Last Lines From a File, upload your data in plain text format.
- Resources: http://www.gnu.org/software/coreutils/manual/coreutils.html#tail-invocation
Test Data
All files are located in the Community Data directory of the iPlant Discovery Environment at the following path:
Community Data > iplantcollaborative > example_data > extract_last_lines_from_a_file
Input File(s)
Use SampleText.txt as test data.
Parameters Used in App
When the app is run in the Discovery Environment, use the following parameters with the above input file(s) to get the output provided in the next section below.
- Default parameters only, no further configuration needed.
Output File(s)
Expect a text file as output named tail_output.txt.