Created
June 16, 2017 08:28
-
-
Save e7d/665c03b14c3a686c242e33df603140bd to your computer and use it in GitHub Desktop.
Tail with proper line breaks in log file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tail with proper line breaks in log files | |
function tail_linebreak() { | |
tail $@ | sed "s/\\\n/\\n/g" | |
} | |
alias tailn=tail_linebreak |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment