From 47151e4647b8decd77bb65c4fbe0dadb16ae79a8 Mon Sep 17 00:00:00 2001 From: Toby Goodwin Date: Tue, 20 Mar 2018 21:58:03 +0000 Subject: whitespace cleanup --- EXAMPLES | 130 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 65 insertions(+), 65 deletions(-) (limited to 'EXAMPLES') diff --git a/EXAMPLES b/EXAMPLES index 9f4b5c8..9a09035 100644 --- a/EXAMPLES +++ b/EXAMPLES @@ -110,19 +110,19 @@ in your path.) #!/bin/rc if (~ $#* 0) - exec openfile + exec openfile create = () files = () for (i in $*) - if (test -f $i) { - files = ($files $i) - } else { - create = ($create $i) + if (test -f $i) { + files = ($files $i) + } else { + create = ($create $i) } create = `{ pick $create } files = ($files $create) for (i in $create) - > $i + > $i if (! ~ $#files 0) openfile $files @@ -139,12 +139,12 @@ to set $foo to a single line from the terminal. (due to John Mackin ) fn read { - x=() { - x = `` ($nl) { awk '{print; print 0; exit}' ^ $nl ^ \ - 'END {print 1; print 1}' } - $1 = $x(1) - return $x(2) - } + x=() { + x = `` ($nl) { awk '{print; print 0; exit}' ^ $nl ^ \ + 'END {print 1; print 1}' } + $1 = $x(1) + return $x(2) + } } From cs.wisc.edu!dws Fri Aug 2 18:16:14 1991 @@ -280,62 +280,62 @@ static void b_kill(char **av) boolean res; if (!av[1]) { - set(TRUE); - return; + set(TRUE); + return; } #undef STRCMP #define STRCMP strcmp if ( '-' == av[1][0]) { - char *p = 1+av[1]; - if (0 == strcmp(av[1], "-l")){ - int r; const int nsig = NUMOFSIGNALS; - const int C = 4, R = 1 + (int)((nsig-2)/C); - for (r=1; r<=R; r++){ - int j; - for (j=r; j[1=2]; usage; @@ -585,7 +585,7 @@ while (!~ $1 ()) { dont=() for (x in $Cat) { if (~ `{echo $x | sed 's/\/[mc]a[nt][1-8l]//'} \ - `{echo $file | sed 's/\/[mc]a[nt][1-8l]//'}) { + `{echo $file | sed 's/\/[mc]a[nt][1-8l]//'}) { dont=1; break; } -- cgit v1.2.3