From 150083eea622e2ea31a3202426c0df9b4dfd16f3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 23 Apr 2019 22:05:03 -0400 Subject: parse_control(): Rewrite field checking Get rid of the printf and grep pipeline and use a case construct instead of a "[" command with a "${parameter%word}" expansion. Also drop the unused check_fields variable, just added in commit 1e585cb. --- (limited to 'src/cmd/shell.sh') -- cgit v0.9.1