From nobody Fri Mar 29 11:38:46 2024 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 25756781AD5 for <~alpine/devel@lists.alpinelinux.org>; Wed, 24 Jul 2019 04:51:39 +0000 (UTC) Received: by mail-pl1-f175.google.com with SMTP id ay6so21510474plb.9 for <~alpine/devel@lists.alpinelinux.org>; Tue, 23 Jul 2019 21:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=haroid-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=DvLxEySgjmz81Fkj374EflI0jk8wKqbMKmlITVCOEOY=; b=GYWHPDQ0tC8xhzoT26ELVN9IIagcK9c7XRrfEwoYEu+Pr0bXzXS0TxtoH0ZlwA0B8N maPkcwWVscmUW917gvfyG3ax0WFiFWYttG4ofRNdclJPzjEu8N7MDgfwMioA4YWZpUzk e4hezigLItRUKf2tC4isZ4yg4cLBNaIAy/x7OG2fPJZFsrhpZ8NkM50fK1J64aVugTRd Tct69JwAWXmn8bit4mINzgmIrXeakku/2v1VT5UL+QJe16CPZ9jMfQvqo3t5SbNWxcdx Jbi9I3PxjIQ9MKHLxt2e7I5Z0IgdDw0rzXhkBr6zD6xRWxIWgMNl5+PaOx1qBWI9LKV7 Xm7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=DvLxEySgjmz81Fkj374EflI0jk8wKqbMKmlITVCOEOY=; b=U7d/KAO0jUGlEr1+bjy6J1rluSkuE6jhbHMYheWXzWFW9ymUehY2zqzbUvu0luBURl GykDXuP9TTkLv1jRHT3Sa0siboYOcooeyXAv2N6wzmiMostxqs/G4pUmuX4++lZyirrO BXN+q2uqyWGNPMh/AjtkhPmN9WJNnchaOZ7rEc5GAGG1wW4Eal3xlHOjBbprIlFo9P7g AV9+/Dz0ezk8ODpqyRif/ju6P8doPndCs7qbU52AVYIuJbHZik6m1HLQPeOFISmXze37 j15u5pkJmTSfFAOgiIXx/zBQwZGlyWE9q81vS9WgWPE9aljRnraQHXnY2E0tHeeXv0Ew ICKQ== X-Gm-Message-State: APjAAAW0sGPvpN60xWZ7wpaZfTsb0Ns561SZMbbMDdhY1+WA4aaGi64I wqPgDrNjd+RJVlzK2RybOCgJl+PdaNI= X-Google-Smtp-Source: =?utf-8?q?APXvYqwfN1PugP+8Cxzx6OtDpjxa6mcKsoGwuoRjUZZz?= =?utf-8?q?jAz/716cm7hP2Dhw+HWfY8xG4hWulFYCOw=3D=3D?= X-Received: by 2002:a17:902:2be8:: with SMTP id l95mr77635736plb.231.1563943895696; Tue, 23 Jul 2019 21:51:35 -0700 (PDT) Received: from [192.168.11.117] (fs276edba5.tkyc511.ap.nuro.jp. [39.110.219.165]) by smtp.gmail.com with ESMTPSA id q19sm49958782pfc.62.2019.07.23.21.51.34 for <~alpine/devel@lists.alpinelinux.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jul 2019 21:51:35 -0700 (PDT) From: =?utf-8?B?5p2x6YG85bmz?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: About the exit status of the xargs command Message-Id: <1ED96D22-D7C2-4E00-93D8-4D2423A0FF1A@haroid.com> Date: Wed, 24 Jul 2019 13:51:32 +0900 To: ~alpine/devel@lists.alpinelinux.org X-Mailer: Apple Mail (2.3445.9.1) Hello. Is the exit status behavior of xargs different from the specification? ```bash $ cat / etc / os-release NAME = "Alpine Linux" ID = alpine VERSION_ID = 3.9.4 PRETTY_NAME = "Alpine Linux v3.9" HOME_URL = "https://alpinelinux.org/" BUG_REPORT_URL = "https://bugs.alpinelinux.org/" $ seq 1 5 | xargs -t -I {num} sh -c 'exit 255' sh -c exit 255 xargs: sh: exited with status 255; aborting $ echo $? 0 ``` If you execute such a command, is the exit status not 124?