From 389a15c455f23065b1381e197c9442b33cf743fa Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Mon, 16 Jun 2014 08:43:56 +0300 Subject: [PATCH] filename improvement --- tsv/tsvplot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tsv/tsvplot b/tsv/tsvplot index e6d67a9..cae1bae 100755 --- a/tsv/tsvplot +++ b/tsv/tsvplot @@ -16,12 +16,14 @@ exit } +fbase=$( basename "$1" ) + csvcut -t -c "$2,$3" "$1" | gnuplot -e " set term dumb $(tput cols) $(tput lines) enhanced; set datafile separator \",\"; set xlabel '$2'; $5 -plot '