[BACK]Return to histedit.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / bin / sh

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/bin/sh/histedit.c between version 1.37 and 1.38

version 1.37, 2005/07/15 17:49:43 version 1.38, 2006/03/06 00:09:22
Line 336  histcmd(int argc, char **argv)
Line 336  histcmd(int argc, char **argv)
                 *repl++ = '\0';                  *repl++ = '\0';
                 argc--, argv++;                  argc--, argv++;
         }          }
   
           /*
            * If -s is specified, accept only one operand
            */
           if (sflg && argc >= 2)
                   error("too many args");
   
         /*          /*
          * determine [first] and [last]           * determine [first] and [last]
          */           */
Line 421  histcmd(int argc, char **argv)
Line 428  histcmd(int argc, char **argv)
                                          */                                           */
                                         history(hist, &he, H_ENTER, s);                                          history(hist, &he, H_ENTER, s);
                                 }                                  }
   
                                   break;
                         } else                          } else
                                 fputs(s, efp);                                  fputs(s, efp);
                 }                  }

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

CVSweb <webmaster@jp.NetBSD.org>