huffshell icon indicating copy to clipboard operation
huffshell copied to clipboard

Different output of huffshell and example shell script

Open Civil opened this issue 13 years ago • 1 comments

I've got folowing output for huffshell:

Most common commands:
ssh 284
executer 74
echo 64
 61
ls 43
for 30
./checker.sh 29
POST 27
cd 26
sudo 25

and this is what history + awk says:

civil@civil-work-pc /home/civil $ history | awk '{print $2}' | awk 'BEGIN {FS="|"}{print $1}' | sort | uniq -c | sort -n | tail | sort -nr 
    285 ssh
     74 executer
     64 echo
     43 ls
     30 for
     29 ./checker.sh
     27 POST
     26 sudo
     26 cd
     22 cat

Obviously, there is some strange empty command in huffshell's output. Btw, it's wrongly suggests this for it:

 61: '' =>  taken :(

Civil avatar Aug 13 '12 11:08 Civil

Thanks, this is definitely a bug.

paulmars avatar Aug 13 '12 15:08 paulmars