From: khamidou Date: Fri, 23 Jan 2009 18:56:07 +0000 (+0100) Subject: got rid of emacs ~ files X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d097b3c502fa15a0504cb1323d68c70b22d3c397;p=fh.git got rid of emacs ~ files --- diff --git a/README~ b/README~ deleted file mode 100644 index a70541b..0000000 --- a/README~ +++ /dev/null @@ -1,28 +0,0 @@ -fh, the feed handler - -fh is a feed reader which is designed, -contrary to the more common feed readers, -to be used only from the command line. -It has no proper interface because it is -a collection of programs that work -cooperatively. - -Quick usage guide -================= - -fh is for the moment, composed of three -programs : -fh-inc, which downloads the feeds from - the internet - -fh-fetch, which selects feeds according - to a given pattern - -fh-show, which display the feeds on the - screen - -fh-fetch and fh-show are two different -programs because I wanted to give to -the user the possibility of grepping an -input feed and still to be able to read -the whole feed. \ No newline at end of file diff --git a/fh-fetch.rb~ b/fh-fetch.rb~ deleted file mode 100644 index 734df31..0000000 --- a/fh-fetch.rb~ +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/ruby -# -# Fetch the specified entries. -# Arguments : fh-fetch from date [to date] -# feeds *feed-name-regexp* -# - -require "Time" - -fh_to = Time.new() -fh_from = fh_to - 2592000 # It's yesterday - -feeds = "*" - -ARGV.length.times do | i | - if (ARGV[i] == "from") - fh_from = Time.parse(ARGV[i+1]) - - end - - if (ARGV[i] == "to") - fh_to = Time.parse(ARGV[i+1]) - end - - if (ARGV[i] == "feeds") - feeds = ARGV[i+1] - end - -end diff --git a/fh-inc.rb~ b/fh-inc.rb~ deleted file mode 100644 index fa5622c..0000000 --- a/fh-inc.rb~ +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/ruby -# -# fh-inc - get data from the feeds refered in ~/.fh/feedlist diff --git a/fh-show.rb~ b/fh-show.rb~ deleted file mode 100644 index f3d21a2..0000000 --- a/fh-show.rb~ +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/ruby -# -# Fetch the specified entries. -# Arguments : fh-show from date [to date] -# feeds *feed-name-regexp* -# - -require "Time" - -fh_to = Time.new() -fh_from = fh_to - 2592000 # It's yesterday - -feeds = "*" - -ARGV.length.times do | i | - if (ARGV[i] == "from") - fh_from = Time.parse(ARGV[i+1]) - - end - - if (ARGV[i] == "to") - fh_to = Time.parse(ARGV[i+1]) - end - - if (ARGV[i] == "feeds") - feeds = ARGV[i+1] - end - -end