NAME

fl - execute a command and display the first M and last N lines of output

SYNOPSIS

  fl [options] 

DESCRIPTION

fl executes a user-specified command and displays the first M and last N lines of the command's output. By default, ten lines from the beginning and end of the output will be printed, but these line counts may be changed by the -count, -first, and -last options.

If the length of the output is less than the length of the first chunk and the last chunk, all the output lines will be printed. Otherwise, the first chunk and the last chunk will be printed, separated by an empty line.

OPTIONS

The following options are handled by fl:

LICENSE

Copyright 2014 Wayne Morrison

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

AUTHOR

Wayne Morrison, wayne@waynemorrison.com