Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/share/sushi/users/listuser



> Module Name:  src
> Committed By: peter
> Date:         Wed Jan 12 17:58:45 UTC 2005
> 
> Modified Files:
>       src/share/sushi/users/listuser: script
> 
> Log Message:
> Show "UID" on the first line (was broken after gawk -> nawk switch).

isn't it better to fix awk?

YAMAMOTO Takashi

Index: lex.c
===================================================================
RCS file: /cvsroot/src/dist/nawk/lex.c,v
retrieving revision 1.5
diff -u -p -r1.5 lex.c
--- lex.c       26 Oct 2003 11:34:23 -0000      1.5
+++ lex.c       13 Jan 2005 01:37:45 -0000
@@ -389,6 +389,7 @@ int string(void)
                case '\\':
                        c = input();
                        switch (c) {
+                       case '\n': break;
                        case '"': *bp++ = '"'; break;
                        case 'n': *bp++ = '\n'; break;  
                        case 't': *bp++ = '\t'; break;



Home | Main Index | Thread Index | Old Index