blob: 7b107c591ac6b3707b9b455d08d32f9ce52af77a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
palSort
=======
Sort pal event files, grouping by once-only events & repeating events.
Introduction:
------------
pal is a command line calendar app for linux that displays a mini calendar (for the next few weeks) and
marks days that have events associated with them.
Events are recorded in one or more plain text files with a .pal extension. These files can be edited
manually or using interactive mode in pal.
Problem:
-------
Events added in pal are appended to the bottom of the event file. After a while it becomes hard to find events
when manually editing the .pal file. Furthermore, recuring events and once-only events become jumbled. The time
codes make simple line sorting impractical.
Solution:
--------
A script to group events into recurring and once only, sorting once only events
by date, with a marker (such as an empty line or a comment) to distinguish between past and future events.
Implementation:
--------------
Either shell script or perl.
Notes
-----
This is my first github (and git) repo, so tackling a fairly easy problem seems like a good way to ease into git[hub].
I am also quite rusty in perl and an almost n00b on shell scripting.
|