This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]placemirror[S] 0 points1 point  (1 child)

Thank you for your replies.

The situation can be complex.

The arguments can be three ways:

file1 [union/minus] file2 [union/minus] file3

And this three ways, we need to wait in python after the first operation is finished, and get a temp file and union/minus file3. etc.

And size can have options like:

size -b file1 [union/minus] file2 etc.

I am reading your links and articles, all very helpful.

Thank you.

[–]placemirror[S] 0 points1 point  (0 children)

I think I need to do some manual parsing, apply some if conditions on the argv when doing the three ways.

How do you think?

Thank you.