News for hackers. Stuff that matters.
Re:OpenBSD will shut down if we do not have the funding to k... by scott_s on Thursday January 16, 2014 @04:14PM (#7072585)

  [scott_s@local ~] history | wc -l
     500
  [scott_s@local ~] history | grep ssh | wc -l
     191
Donated.
Re:OpenBSD will shut down if we do not have the funding to k... by TkTech on Thursday January 16, 2014 @05:37PM (#7072989)
Grep has a -c flag :)

    $ history | grep -c ssh
        380
Donated.
Re:OpenBSD will shut down if we do not have the funding to k... by switch007 on Thursday January 16, 2014 @04:51PM (#7072788)
Great point. OpenSSH is rock solid and it and underpins many, many other projects and businesses.

I don't think it's going too far to say that companies making heavy use of (i.e. profit from) OpenSSH are obligated to donate.

Re:OpenBSD will shut down if we do not have the funding to k... by pjjw on Thursday January 16, 2014 @06:27PM (#7073204)
many do by employing the openssh maintainers to do that. it's the best way to contribute to openssh without contributing to theo.
Re:OpenBSD will shut down if we do not have the funding to k... by chongli on Thursday January 16, 2014 @05:37PM (#7072990)
The shell history really ought to have some sort of de-dupe feature. Too many lines of history get taken up by duplicate entries!
Re:OpenBSD will shut down if we do not have the funding to k... by m0shen on Thursday January 16, 2014 @06:02PM (#7073108)
Re:OpenBSD will shut down if we do not have the funding to k... by zshhasoptions on Thursday January 16, 2014 @06:27PM (#7073205)
try adding setopt HIST_SAVE_NO_DUPS to your .zshrc

you could also have a look at HIST_FIND_NO_DUPS and HIST_IGNORE_ALL_DUPS (more options at http://zsh.sourceforge.net/Doc/Release/Options.html )

If you still use bash, now is a good time to upgrade to zsh

Re:OpenBSD will shut down if we do not have the funding to k... by AdamN on Friday January 17, 2014 @03:11AM (#7074816)
'Upgrade' and a sourceforge link don't usually go together :-/

I'm a zsh user but am surprised that you guys are still using sourceforge instead of github.

Re:OpenBSD will shut down if we do not have the funding to k... by nolok on Thursday January 16, 2014 @05:58PM (#7073093)
If you use bash, have a look at HISTIGNORE and HISTCONTROL.