histexamp.c (136644) | histexamp.c (157184) |
---|---|
1/* Copyright (C) 1987-2002 Free Software Foundation, Inc. 2 3 This file is part of the GNU Readline Library, a library for 4 reading lines of text with interactive input and history editing. 5 6 The GNU Readline Library is free software; you can redistribute it 7 and/or modify it under the terms of the GNU General Public License 8 as published by the Free Software Foundation; either version 2, or --- 12 unchanged lines hidden (view full) --- 21#include <stdio.h> 22 23#ifdef READLINE_LIBRARY 24# include "history.h" 25#else 26# include <readline/history.h> 27#endif 28 | 1/* Copyright (C) 1987-2002 Free Software Foundation, Inc. 2 3 This file is part of the GNU Readline Library, a library for 4 reading lines of text with interactive input and history editing. 5 6 The GNU Readline Library is free software; you can redistribute it 7 and/or modify it under the terms of the GNU General Public License 8 as published by the Free Software Foundation; either version 2, or --- 12 unchanged lines hidden (view full) --- 21#include <stdio.h> 22 23#ifdef READLINE_LIBRARY 24# include "history.h" 25#else 26# include <readline/history.h> 27#endif 28 |
29#include <string.h> 30 |
|
29main (argc, argv) 30 int argc; 31 char **argv; 32{ 33 char line[1024], *t; 34 int len, done; 35 36 line[0] = 0; --- 86 unchanged lines hidden --- | 31main (argc, argv) 32 int argc; 33 char **argv; 34{ 35 char line[1024], *t; 36 int len, done; 37 38 line[0] = 0; --- 86 unchanged lines hidden --- |