mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
These changes mirror the changes made to the CLI in an attempt to create a better user experience for working with log files even from the shell. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
11 lines
75 B
Bash
Executable File
11 lines
75 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case "$1" in
|
|
*.gz)
|
|
zcat "$1"
|
|
;;
|
|
*)
|
|
cat "$1"
|
|
;;
|
|
esac
|