Skip to content

Instantly share code, notes, and snippets.

@ryu1
Created November 27, 2017 17:04
Show Gist options
  • Select an option

  • Save ryu1/6c36083485fed5cad76a38cc31f4bb4c to your computer and use it in GitHub Desktop.

Select an option

Save ryu1/6c36083485fed5cad76a38cc31f4bb4c to your computer and use it in GitHub Desktop.
#!/bin/bash
head -n $3 $1 | tail -n $(($3 - $2 + 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment