From 0fc2d1c2be1f6fdfb2ae5a84fcbde8ec4338ac53 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Mon, 16 Aug 2010 16:51:31 -0700 Subject: fix typo in tech-support script (cherry picked from commit 0f2d5e4e6cc39c085c0f84ce13f08e208abe356d) --- functions/tech-support | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') diff --git a/functions/tech-support b/functions/tech-support index 5d92710..8765959 100755 --- a/functions/tech-support +++ b/functions/tech-support @@ -348,7 +348,7 @@ for path in /opt/vyatta/config/active/system/login/user/* ; do root) file="/root/.bash_history";; *) file="/home/$user/.bash_history";; esac; -cat .bash_history | gawk '/^#[0-9]*/ {t = substr($0,2); next} {print strftime("%FT%T%z", t) " " $0}' | sort -u + cat $file | gawk '/^#[0-9]*/ {t = substr($0,2); next} {print strftime("%FT%T%z", t) " " $0}' | sort -u done header Login History -- cgit v1.2.3