Assaf Gordon <assafgordon@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Assaf Gordon <assafgordon@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Assaf Gordon <assafgordon@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 14846) by debbugs.gnu.org; 21 Oct 2018 21:20:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 21 17:20:16 2018 Received: from localhost ([127.0.0.1]:34717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gEL8y-0004qw-0P for submit <at> debbugs.gnu.org; Sun, 21 Oct 2018 17:20:16 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:39708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <assafgordon@HIDDEN>) id 1gEL8w-0004qZ-BF; Sun, 21 Oct 2018 17:20:14 -0400 Received: by mail-it1-f196.google.com with SMTP id m15so10167027itl.4; Sun, 21 Oct 2018 14:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:cc:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=UXCnedtW75pwrl34HQRYHUcVMZjVXYpqOtb7815piKQ=; b=pRw9wtuphZtY8AiFYrsT9P0M5oaeptWFuuCYC2CMN0qTozJN7u0J2DtxJp15V/AEYt vEhWiV6OfvuOYgf7p+S3+cOnTcGb7nIiPD/g15CFAWefn/NYwV7OVtq2E85pPH0uUzo9 VydO8niI3YJj3UFUQGJBCZu6o0qZZx2ODyd+IuywD1v9uO6zpMBj+FNEgDwZ/OrTtr+2 87H0o8sowNqD5Fr66ZCLdWH/j200dhd7M0yoXmS7thPcsJnerydEEoFQwzdm05BhL+ne rMKiwwx3XzBCkWOcY+6Pcc8CH0udyZx1e0+zJLHIGE25d4JHBi3nTaRTpQTpFEnSOqav 1xWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UXCnedtW75pwrl34HQRYHUcVMZjVXYpqOtb7815piKQ=; b=lieSW0OHB86c2HQOw//YSa3Y8FM2ZYtEsbjACb/ib5aTTSJHSIwnxnjHBkBAetsF7i wuC0MRzSBMtfwwCGjjJ5iCORdtYQUFEROmYt2mgHiI5QGjRloC83JWMMjfrUOl4quC4h fC5E6zXWvExvTvWXgrYBXBYF5XnVuTn5Tpdbjry68hI0cyD1siOf3tc2wIYc4H3wE1JL GikJ/81t38CL6boCQA02/TJvLL5HRdYaXCz6gdMBqYHMeMs2FD6RQe2jRmIoZ1r/AVUa TOkpT+TyqgDtUfmPot5ej5oJYxwPmCFqJfCUN7p5ccCfdkSXpghkr/m4Z6GXkQ6ahNKj dBVA== X-Gm-Message-State: ABuFfogDTeFIBTwjzY+G99y0R/88soNLeOkE/q//ohaqP0LZ040DxIBE QEBssfj8jME6DHmbmooYZhZB826M X-Google-Smtp-Source: ACcGV61vHK/+5oLq3aZtFsPMBRf+SywLg/1GrBFuV5Ui+NizvgPdR1GEFO9p28S/gIaELq369hppqw== X-Received: by 2002:a24:b8c5:: with SMTP id m188-v6mr8173963ite.27.1540156808399; Sun, 21 Oct 2018 14:20:08 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id f197-v6sm4439358itc.4.2018.10.21.14.20.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Oct 2018 14:20:07 -0700 (PDT) Subject: Re: bug#14846: dd how to skip one byte from reading the man page References: <877ggwr6zg.fsf@HIDDEN> <51E033B6.8090508@HIDDEN> From: Assaf Gordon <assafgordon@HIDDEN> Message-ID: <bbc27f10-e654-5234-fa25-fe4a77aa2563@HIDDEN> Date: Sun, 21 Oct 2018 15:20:06 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <51E033B6.8090508@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 14846 notabug severity 14846 wishlist retitle 14846 doc: dd: improve ibs=BYTES description stop (triaging old bugs) On 12/07/13 10:49 AM, Pádraig Brady wrote: > On 07/12/2013 12:50 AM, >> >> it seems >> ibs=BYTES >> read up to BYTES bytes at a time (default: 512) >> should be instead >> ibs=BYTES >> reset the input block size (default: 512) >> or something... > > Hmm I suppose a more direct description is more accurate. > [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) 1.2 MISSING_HEADERS Missing To: header -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.166.196 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.166.196 listed in list.dnswl.org] X-Debbugs-Envelope-To: 14846 Cc: 14846 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.2 (/) tags 14846 notabug severity 14846 wishlist retitle 14846 doc: dd: improve ibs=BYTES description stop (triaging old bugs) On 12/07/13 10:49 AM, Pádraig Brady wrote: > On 07/12/2013 12:50 AM, jidanni@HIDDEN wrote: >> >> it seems >> ibs=BYTES >> read up to BYTES bytes at a time (default: 512) >> should be instead >> ibs=BYTES >> reset the input block size (default: 512) >> or something... > > Hmm I suppose a more direct description is more accurate. > Marking as "wishlist". Patches welcomed. -assaf
bug-coreutils@HIDDEN
:bug#14846
; Package coreutils
.
Full text available.Received: (at 14846) by debbugs.gnu.org; 12 Jul 2013 16:50:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 12 12:50:32 2013 Received: from localhost ([127.0.0.1]:50875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UxgYC-0007OB-1B for submit <at> debbugs.gnu.org; Fri, 12 Jul 2013 12:50:32 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:65202) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <P@HIDDEN>) id 1UxgY9-0007Nu-CB for 14846 <at> debbugs.gnu.org; Fri, 12 Jul 2013 12:50:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkYDAIsz4FFtTS7u/2dsb2JhbAANTYZIvw4DAYEhgxcBAQEEMgFGEAsNCwkWDwkDAgECAUUTAQUCAQGtQJJKjwJfBxaDYQOUBYodjho Received: from unknown (HELO [192.168.1.79]) ([109.77.46.238]) by mail2.vodafone.ie with ESMTP; 12 Jul 2013 17:49:58 +0100 Message-ID: <51E033B6.8090508@HIDDEN> Date: Fri, 12 Jul 2013 17:49:58 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: jidanni@HIDDEN Subject: Re: bug#14846: dd how to skip one byte from reading the man page References: <877ggwr6zg.fsf@HIDDEN> In-Reply-To: <877ggwr6zg.fsf@HIDDEN> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14846 Cc: 14846 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) On 07/12/2013 12:50 AM, jidanni@HIDDEN wrote: > If the user tries to figure out how to skip one byte > just from reading the dd man page, and not info, > > in order to finally figure out how to do > > $ echo abc|dd ibs=1 skip=1 > bc > > it seems > ibs=BYTES > read up to BYTES bytes at a time (default: 512) > should be instead > ibs=BYTES > reset the input block size (default: 512) > or something... Hmm I suppose a more direct description is more accurate. BTW, note the skip_bytes flag which can be used to more efficiently skip odd sizes: $ echo abc | dd iflag=skip_bytes skip=1 status=none bc $ echo abc | strace -e read dd iflag=skip_bytes skip=1 status=none read(0, "a", 1) = 1 read(0, "bc\n", 512) = 3 read(0, "", 512) = 0 bc cheers, Pádraig.
bug-coreutils@HIDDEN
:bug#14846
; Package coreutils
.
Full text available.Received: (at submit) by debbugs.gnu.org; 12 Jul 2013 03:41:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 11 23:41:31 2013 Received: from localhost ([127.0.0.1]:49165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UxUEc-0000u1-RI for submit <at> debbugs.gnu.org; Thu, 11 Jul 2013 23:41:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49864) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <jidanni@HIDDEN>) id 1UxUEa-0000tg-FU for submit <at> debbugs.gnu.org; Thu, 11 Jul 2013 23:41:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1UxUEU-0002cK-DM for submit <at> debbugs.gnu.org; Thu, 11 Jul 2013 23:41:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-98.9 required=5.0 tests=BAYES_05, DATE_IN_PAST_03_06, T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1UxUEU-0002cG-A8 for submit <at> debbugs.gnu.org; Thu, 11 Jul 2013 23:41:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1UxUET-0000zR-E8 for bug-coreutils@HIDDEN; Thu, 11 Jul 2013 23:41:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1UxUES-0002c3-Lv for bug-coreutils@HIDDEN; Thu, 11 Jul 2013 23:41:21 -0400 Received: from hapkido.dreamhost.com ([66.33.216.122]:46573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1UxUES-0002bv-Gc for bug-coreutils@HIDDEN; Thu, 11 Jul 2013 23:41:20 -0400 Received: from homiemail-a37.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by hapkido.dreamhost.com (Postfix) with ESMTP id 99505DE447 for <bug-coreutils@HIDDEN>; Thu, 11 Jul 2013 20:41:19 -0700 (PDT) Received: from homiemail-a37.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTP id B414520806C for <bug-coreutils@HIDDEN>; Thu, 11 Jul 2013 20:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=BgxkK/lizv5EjtqoRLDVkmNQnFk=; b=h2vvCb0bjLzk81MK bWZYHxqaX5bnZ9qQvDo6EFY4TFpEvJ55IoIzs0Df4OlDNi9rSku/FnmbLAtkZR5u azxS4HqT2HWJ2R6DzR2PJLWOIviqZ8Ckhn8knTnP7kvRUUoLSNGsc2Fjb3BJMKyK BrfPuDCiA+/5Qu+DvjIFSpMAjGg= Received: from jidanni.org (1-170-84-22.dynamic.hinet.net [1.170.84.22]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTPSA id 6DBD020806B for <bug-coreutils@HIDDEN>; Thu, 11 Jul 2013 20:41:18 -0700 (PDT) From: jidanni@HIDDEN To: bug-coreutils@HIDDEN Subject: dd how to skip one byte from reading the man page Date: Fri, 12 Jul 2013 07:50:59 +0800 Message-ID: <877ggwr6zg.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.9 (---) If the user tries to figure out how to skip one byte just from reading the dd man page, and not info, in order to finally figure out how to do $ echo abc|dd ibs=1 skip=1 bc it seems ibs=BYTES read up to BYTES bytes at a time (default: 512) should be instead ibs=BYTES reset the input block size (default: 512) or something...
jidanni@HIDDEN
:bug-coreutils@HIDDEN
.
Full text available.bug-coreutils@HIDDEN
:bug#14846
; Package coreutils
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.