From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 0DF681F9FE for ; Thu, 18 Feb 2021 05:28:10 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1613626084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HWAWzvgyrYYNdK+9j4I6VUiNPdn2HXCypbDIyj9IIZM=; b=LmWUHdukN2+enhTB3uunanz6SuU1ZuJxsdF6rzGNUpcuevFaiwOUIGiJshCS3lHBFBkWtQ XwGhn0QtzoxOOVlkSTNWN4te6/lpIueHbjDr/jwPLxcl8n7IP+KvqOFcv1gqIVYnYgJPhu /l8gXtTsDgQ2eEbx8UCXe0xJ51+CUvt3XfSK+KYZ7HB4TlPzFxlw63fWmhJJfwMlo5jmoJ GQJz3fgDB6Ak0p+Y9UmSQQBqEHPGLfRpcistsI9bKOTXX/t3RDSb/Hlm4LtsC6JO0tRm8l H4nLJC5IPc4e8WNk1lZU38xPyUyRf4dlztAh5q/ankFNeGybKuPIpmXoPtPCXw== From: Kyle Meyer To: Eric Wong Cc: meta@public-inbox.org Subject: Re: does "lei q" --format/-f need to exist? In-Reply-To: <20210217044032.GA17934@dcvr> References: <20210217044032.GA17934@dcvr> Date: Thu, 18 Feb 2021 00:28:03 -0500 Message-ID: <87r1le2bdo.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: kyle@kyleam.com List-Id: Eric Wong writes: > "maildir:/path/to/dir" has been supported by public-inbox-watch > for years, now. > > The following all work today: > > lei q -o mboxrd:/tmp/foo.mboxrd ... > lei q -o mboxcl2:/tmp/foo.mboxcl2 ... > lei q -o maildir:/tmp/foo/ ... > > So -f/--format seems redundant. I find ":" pretty natural/intuitive, even if perhaps the stdout case (e.g., "mboxrd:-" or "concatjson:-") looks a bit odd. Dropping --format makes sense to me.