aboutsummaryrefslogtreecommitdiff
path: root/ch6
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2013-10-18 02:14:57 -0500
committerzlg <zlg@zlg.space>2013-10-18 02:14:57 -0500
commiteb44b112e7ac2ffbd7d48d47f26c5e210fed677c (patch)
tree66158493b20890f37505af885ecbb4981521632f /ch6
parentSolve Exercise 5-12: flexible `detab` and `entab` (diff)
downloadknr-eb44b112e7ac2ffbd7d48d47f26c5e210fed677c.tar.gz
knr-eb44b112e7ac2ffbd7d48d47f26c5e210fed677c.tar.bz2
knr-eb44b112e7ac2ffbd7d48d47f26c5e210fed677c.tar.xz
knr-eb44b112e7ac2ffbd7d48d47f26c5e210fed677c.zip
Solve Exercise 5-13: tail
This exercise was somewhat irritating until I caved and used the code in section 5.6 like the exercise suggested. The solution is not what I think is clean, but given that [mc]*alloc haven't been covered yet, it's probably the best one can muster. Once I used the code in ยง5.6, the program fell into place. Still, it was a neat exercise.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
amp;id=565812a92cd22d41aa6f5f85a6b451386422fb4a&follow=1'>Branch off from master with pytest, tox, clickzlg16-778/+779 2018-03-18Flesh out filter types and ownership statuszlg3-82/+144 2018-03-18README.mdown: break line correctlyzlg1-1/+1 2018-03-18add 'playlog' list filterzlg2-2/+9 2018-03-13Update helpers a bitzlg1-2/+9 2018-03-13Make VGSTASH_DB_LOCATION point to a filezlg2-21/+20 2016-11-18Remove settings from helpers.shZe Libertine Gamer1-5/+0 2016-11-15Correct phrasing in README.Ze Libertine Gamer1-4/+4 2016-11-13DerpZe Libertine Gamer1-0/+1 2016-11-03Improve error handling in shell scriptsZe Libertine Gamer4-3/+23 2016-10-24Correct run_again, add recursionZe Libertine Gamer1-0/+4 2016-10-21Add quotes to correct behavior for arglistZe Libertine Gamer1-1/+1 2016-10-14updater.sh: add recursion, error handlingZe Libertine Gamer1-43/+101 2016-10-14Correct pipe-handling behaviorZe Libertine Gamer1-1/+9 2016-10-12Clarify a method to move between platformsZe Libertine Gamer1-2/+5