Commit graph

9 commits

Author SHA1 Message Date
Dan Cross
fa325e9b42 Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross <cross@gajendra.net>
2020-01-10 14:54:30 +00:00
Fazlul Shahriar
1309450668 awk: split record into runes for empty FS (#292)
awk was splitting records into bytes instead of runes for empty FS.
For example, this was printing only the first byte of the utf-8 encoding
of é:

	echo é | awk 'BEGIN{FS=""}{print $1}'

The change just copies how the `split` function handles runes.

Originally reported by kris on twitter:
https://twitter.com/p9luv/status/1180436083433201665
2019-10-29 10:04:06 -04:00
Russ Cox
a399388593 all: update site from swtch.com to 9fans.github.io 2017-09-01 13:25:20 -04:00
Russ Cox
0cfb376070 fix clang warnings reported by Tuncer Ayaz
R=rsc
http://codereview.appspot.com/6744054
2012-10-21 11:25:08 -04:00
Michael Teichgräber
5a8bc78967 awk: sync with Plan 9
http://codereview.appspot.com/104087
2009-08-11 20:16:30 -04:00
Russ Cox
735f014c33 cmd: getline now a dirty word (James Toy) 2009-05-31 15:34:40 -07:00
Russ Cox
60cbcf8634 awk: delete y.output 2008-12-06 16:34:18 -08:00
Russ Cox
d85332fc43 awk/mkfile: tabify 2008-12-06 16:20:03 -08:00
Jeff Sickel
63a686861c awk: import from sources 2008-11-03 12:35:56 -06:00