aboutsummaryrefslogtreecommitdiff
path: root/ch1/1-12_one-word-per-line.c
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 /ch1/1-12_one-word-per-line.c
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
;id=acd531782fc521c6af2c38154b05a36306b92093&follow=1'>Make VGSTASH_DB_LOCATION point to a filezlg2-21/+20 It used to point to a directory, which would then look for .vgstash.db. This behavior was kind of backwards and I don't remember why I did it that way. This change gives users more control over where they put their DB. Be sure to update your environment variable if you have it set! 2016-11-18Remove settings from helpers.shZe Libertine Gamer1-5/+0 Sourcing them in .bash_profile screws up login if they're set. 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 Loops and functions -- oh my, what a useful combination. :) 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 Also correct a typo.