PoshCode Archive  Artifact [4f098178b5]

Artifact 4f098178b5da9de91061f730b1a64e9f588ad7861704fe8de0c2283b5e921507:

  • File LetterDiamondOneLiner-v4.ps1 — part of check-in [bafb915d78] at 2018-06-10 12:56:18 on branch trunk — Down to a two-statement sciptblock. (user: unknown size: 363)

# encoding: ascii
# api: powershell
# title: LetterDiamondOneLiner v4
# description: Down to a two-statement sciptblock.
# version: 0.1
# license: CC0
# x-poshcode-id: 1044
# x-archived: 2009-04-22T21:00:17
#
# 114 chars w/o the arg
#
&{($r=,(' '*($p=[char]$args[0]-($s=65))+[char]$s)+($p..1|%{"{0,$_} {1}{0}"-f[char]++$s,('  '*$f++)}));$r[-2..-99]}J