shell: feature comparison table from uniq-faq
authorMischa POSLAWSKY <perl@shiar.org>
Mon, 11 Jun 2018 16:39:44 +0000 (18:39 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 11 Jun 2018 20:12:17 +0000 (22:12 +0200)
commita552717b456a77062808b59fbecfe58a5d4e84df
tree3115a803a0ff576178b7c6c8bd176132d804cce3
parente87c3b2927b3c931528dc00a5e2c598dd2e35ee1
shell: feature comparison table from uniq-faq

Page copied from browser.plp with unneeded features removed.
Include initialised with data from usenet unix-faq/shell/shell-differences
v1.17 (1997-07-13) by Brian Blackmore:

perl -wE'
use Data::Dump "pp";
use List::MoreUtils "mesh";
while (<>) { last if s/^ +// }  # to table start
my @cols = split /\s+/;
while (<>) {
chomp;
$_ or last;
my ($title, $support) = split /  +/, $_, 2;
my @support = split / +/, $support;
push @rows, {
title => $title,
support => { mesh(@cols, @support) },
};
}
print pp(\@rows);
'
shell.inc.pl [new file with mode: 0644]
shell.plp [new file with mode: 0644]