On Mon, Mar 10, 2014 at 6:17 AM, Lieven Moors <[email protected]> wrote:
> Hi,
>
> I made a quick shell script that goes through the history file to gather
> the sources used by a timeline session. Am I right to assume that the
> history file would always have the complete info about a session, and
> that I don't need to take the snapshot file into account?
>
> This might NOT be the best shell script written on the planet, but I
> would be very grateful if you could give me some feedback.
> I still believe that the problem would better be solved in C, but I
> don't have the time to look into it right now...
> One thing I think might need to be changed is that I use a slash as a
> seperator (as it is an illegal character in filenames). Can or could
> the source argument become a pathname, instead of a filename?
>

Yes, the 'history' file is the ultimate authority on the session data.

Yes, the source argument can be a full path name (more likely in the
case of external sources in older sessions [now they are symlink'd in
but weren't always).


Reply via email to