Gentoo Archives: gentoo-dev

From: Heinrich Wendel <lanius@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Gentoo Menu - Bash vs. Python Rule files
Date: Wed, 13 Aug 2003 16:44:27
Message-Id: 200308131844.24013.lanius@gentoo.org
1 Hi,
2
3 Svyatogor and me are working on a menu system (like debian ones) for gentoo.
4 Now we have come to the part where we have to decide whether to use python or
5 bash scripts for the rule files of the window managers.
6
7 The Python scripts are 2 times as fast as a bash script and in my opinion
8 would make live easier, are easier to handle. But svyatogor votes for bash
9 scripts, as more people know how to write bash scripts than python scripts,
10 here an example of both:
11
12 Python:
13 http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/gentoo-menu/examples/fluxbox.py?rev=1.3&cvsroot=gentoo-src&content-type=text/plain
14
15 Bash:
16 http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/gentoo-menu/examples/fluxbox.wm?rev=1.3&cvsroot=gentoo-src&content-type=text/plain
17
18 What would you prefer?
19
20 mfg, heinrich
21
22 --
23 gentoo-dev@g.o mailing list

Replies