Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,12 @@
Split (-˜+`׬)=
PadRow {
wt𝕊𝕩: # t → type.
# 0 → left
# 1 → right
# 2 → center
pstylet{0𝕩},{𝕩0},{𝕩÷2,𝕩÷2}
𝕩{(𝕨)´(Pstyle 𝕩)/¨<w}¨(´-)¨𝕩
}
Align {{𝕨' '𝕩}´˘" "𝕨PadRow˘>""0 PadRow '$' Split¨(@+10) Split 𝕩}
1 Align text

View file

@ -0,0 +1,8 @@
" Given a text file of many lines, where fields within a line
are delineated by a single 'dollar' character, write a program
that aligns each column of fields by ensuring that words in each
column are separated by at least one space.
Further, allow for each word in a column to be either left
justified, right justified, or center justified within its column. "