From owner-freebsd-questions@freebsd.org Fri Oct 16 00:40:07 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7F67B44AAC5 for ; Fri, 16 Oct 2020 00:40:07 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC6kH2H1mz4D91 for ; Fri, 16 Oct 2020 00:40:07 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: by mailman.nyi.freebsd.org (Postfix) id 4E2D744AC23; Fri, 16 Oct 2020 00:40:07 +0000 (UTC) Delivered-To: questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4DF6344ACA5 for ; Fri, 16 Oct 2020 00:40:07 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CC6kG1wX5z4D90 for ; Fri, 16 Oct 2020 00:40:06 +0000 (UTC) (envelope-from roberthuff@rcn.com) DKIM-Signature: v=1; a=rsa-sha1; d=rcn.com; s=20180516; c=relaxed/simple; q=dns/txt; i=@rcn.com; t=1602808805; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=H9yu7tjMQcBTKAS/Qxhu7iG5oaI=; b=VnGf5HmTYF/TRepBXpepgImBFpSO4uqwNLzyv6kBI/UHApHZrgJ9EmAfnj+K5CCe TPsGChOS9/z0mE/4i/+bJsLyejbVtZ0jQg9XnOFMbiCPYtwkI9pQ1JmnntNrY1rm Ce1lpJwckV6h83M8dJwUZ/YMq7DPnxCcM9ayedpWWmR618EakSWLkSGp3u5QTEK8 7ayGYR1Jevukqcjsdfoa1bUT3+NBKd7hO4s84WoSq7r/qW1QFrWTwssJJu9RoI3B Bqs32eZTDbzTxIa97CooDAO92lj9rP6ZXY0u73TtN0lHqG2h8mZYI6gsezSPbbl5 tHFASEGgHs7cuFXqt7+/OQ==; X_CMAE_Category: , , X-CNFS-Analysis: v=2.3 cv=L5BjvNb8 c=1 sm=1 tr=0 cx=a_idp_x a=9TgA2UwI6Wy+6BV4wQM/cQ==:117 a=9TgA2UwI6Wy+6BV4wQM/cQ==:17 a=KGjhK52YXX0A:10 a=kj9zAlcOel0A:10 a=XRQyMpdBKAEA:10 a=afefHYAZSVUA:10 a=48faUk6PgeAA:10 a=HP1cehN_gl0mIuz3DNEA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Received: from [209.6.230.48] ([209.6.230.48:61071] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPSA (cipher=AES256-GCM-SHA384) id F3/94-64897-4EBE88F5; Thu, 15 Oct 2020 20:40:05 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <24456.60388.135834.43951@jerusalem.litteratus.org> Date: Thu, 15 Oct 2020 20:40:04 -0400 From: Robert Huff To: questions@freebsd.org Subject: sh scripting question X-Mailer: VM 8.2.0b under 27.1 (amd64-portbld-freebsd13.0) X-Rspamd-Queue-Id: 4CC6kG1wX5z4D90 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rcn.com header.s=20180516 header.b=VnGf5HmT; dmarc=pass (policy=none) header.from=rcn.com; spf=pass (mx1.freebsd.org: domain of roberthuff@rcn.com designates 69.168.97.78 as permitted sender) smtp.mailfrom=roberthuff@rcn.com X-Spamd-Result: default: False [-4.19 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[rcn.com:s=20180516]; RCVD_IN_DNSWL_LOW(-0.10)[69.168.97.78:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:69.168.97.0/24]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.005]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[rcn.com:dkim]; RWL_MAILSPIKE_POSSIBLE(0.00)[69.168.97.78:from]; NEURAL_HAM_MEDIUM(-0.95)[-0.953]; DKIM_TRACE(0.00)[rcn.com:+]; DMARC_POLICY_ALLOW(-0.50)[rcn.com,none]; NEURAL_HAM_SHORT(-0.13)[-0.127]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36271, ipnet:69.168.97.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2020 00:40:07 -0000 I have a file ("files.list") with a list of filenames, similar to /path A/path B/FreeBSD is great.txt (note the embedded spaces) If I use for FILE in `cat files.list` FILE will be set to "/path". How do I get it to read the entire string? Or am I using the wrong tool? Respectfully, Robert Huff