• sqpack order of keywords

    From Tommi Koivula@2:221/1.200 to All on Sat Mar 23 10:25:42 2024
    Hi All,

    If I set up an echoarea with "-nopack -$m 9999 -p 366", sqpack will pack the the msgbase.

    If I set up an echoarea with "-$m 9999 -p 366 -nopack ", sqpack will NOT pack the the msgbase.

    Is this intentional behaviour? In the docs there is:

    -noPack
    do not purge or pack area (overrides -p & -$m)

    'Tommi

    ---
    * Origin: nntp://rbb.fidonet.fi - Finland (2:221/1.200)
  • From Michael Dukelsky@2:5020/1042 to Tommi Koivula on Sat Mar 23 23:38:58 2024
    Hello Tommi,

    Saturday March 23 2024, Tommi Koivula wrote to All:

    If I set up an echoarea with "-nopack -$m 9999 -p 366", sqpack will
    pack the the msgbase.

    If I set up an echoarea with "-$m 9999 -p 366 -nopack ", sqpack will
    NOT pack the the msgbase.

    Is this intentional behaviour? In the docs there is:

    -noPack
    do not purge or pack area (overrides -p & -$m)

    There is also in the docs:

    -p <integer>
    purge after n days: used by purging utilities like sqpack (*); default value is 0;

    So, in your first example '-nopack' says not to purge, but after that '-p 366' says "Do purge" and cancels the previous command not to purge. It is the intentional behaviour. I have changed the documentation to reflect this fact. Thank you for paying attention to that.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20231008
    * Origin: Moscow, Russia (2:5020/1042)
  • From Tommi Koivula@2:221/1 to Michael Dukelsky on Sun Mar 24 09:42:54 2024
    Hi Michael.

    23 Mar 24 23:38, you wrote to me:

    If I set up an echoarea with "-nopack -$m 9999 -p 366", sqpack will
    pack the the msgbase.

    If I set up an echoarea with "-$m 9999 -p 366 -nopack ", sqpack will
    NOT pack the the msgbase.

    Is this intentional behaviour? In the docs there is:

    -noPack
    do not purge or pack area (overrides -p & -$m)

    There is also in the docs:

    -p <integer>
    purge after n days: used by purging utilities like sqpack (*); default value is 0;

    So, in your first example '-nopack' says not to purge, but after that '-p 366'
    says "Do purge" and cancels the previous command not to purge. It is the intentional behaviour. I have changed the documentation to reflect this fact.
    Thank you for paying attention to that.

    Thank you for clarifying this. Someone might think that -nopack overrides the -p and -$m commands no matter what. ;)

    'Tommi

    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: =-=---------------------------=-= (2:221/1)