亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fc.def

?? android-w.song.android.widget
?? DEF
?? 第 1 頁 / 共 2 頁
字號:
This file is fc.def, from which is created fc.c.It implements the builtin "fc" in Bash.Copyright (C) 1987-2010 Free Software Foundation, Inc.This file is part of GNU Bash, the Bourne Again SHell.Bash is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.Bash is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Bash.  If not, see <http://www.gnu.org/licenses/>.$PRODUCES fc.c$BUILTIN fc$FUNCTION fc_builtin$DEPENDS_ON HISTORY$SHORT_DOC fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]Display or execute commands from the history list.fc is used to list or edit and re-execute commands from the history list.FIRST and LAST can be numbers specifying the range, or FIRST can be astring, which means the most recent command beginning with thatstring.Options:  -e ENAME	select which editor to use.  Default is FCEDIT, then EDITOR,		then vi  -l 	list lines instead of editing  -n	omit line numbers when listing  -r	reverse the order of the lines (newest listed first)With the `fc -s [pat=rep ...] [command]' format, COMMAND isre-executed after the substitution OLD=NEW is performed.A useful alias to use with this is r='fc -s', so that typing `r cc'runs the last command beginning with `cc' and typing `r' re-executesthe last command.Exit Status:Returns success or status of executed command; non-zero if an error occurs.$END#include <config.h>#if defined (HISTORY)#ifndef _MINIX#  include <sys/param.h>#endif#include "../bashtypes.h"#include "posixstat.h"#if ! defined(_MINIX) && defined (HAVE_SYS_FILE_H)#  include <sys/file.h>#endif#if defined (HAVE_UNISTD_H)#  include <unistd.h>#endif#include <stdio.h>#include <chartypes.h>#include "../bashansi.h"#include "../bashintl.h"#include <errno.h>#include "../shell.h"#include "../builtins.h"#include "../flags.h"#include "../bashhist.h"#include "maxpath.h"#include <readline/history.h>#include "bashgetopt.h"#include "common.h"#if !defined (errno)extern int errno;#endif /* !errno */extern int current_command_line_count, saved_command_line_count;extern int literal_history;extern int posixly_correct;extern int subshell_environment, interactive_shell;extern int unlink __P((const char *));extern FILE *sh_mktmpfp __P((char *, int, char **));/* **************************************************************** *//*								    *//*	The K*rn shell style fc command (Fix Command)		    *//*								    *//* **************************************************************** *//* fc builtin command (fix command) for Bash for those who   like K*rn-style history better than csh-style.     fc [-e ename] [-nlr] [first] [last]   FIRST and LAST can be numbers specifying the range, or FIRST can be   a string, which means the most recent command beginning with that   string.   -e ENAME selects which editor to use.  Default is FCEDIT, then EDITOR,      then the editor which corresponds to the current readline editing      mode, then vi.   -l means list lines instead of editing.   -n means no line numbers listed.   -r means reverse the order of the lines (making it newest listed first).     fc -e - [pat=rep ...] [command]     fc -s [pat=rep ...] [command]   Equivalent to !command:sg/pat/rep execpt there can be multiple PAT=REP's.*//* Data structure describing a list of global replacements to perform. */typedef struct repl {  struct repl *next;  char *pat;  char *rep;} REPL;/* Accessors for HIST_ENTRY lists that are called HLIST. */#define histline(i) (hlist[(i)]->line)#define histdata(i) (hlist[(i)]->data)#define FREE_RLIST() \	do { \		for (rl = rlist; rl; ) { \			REPL *r;	\			r = rl->next; \			if (rl->pat) \				free (rl->pat); \			if (rl->rep) \				free (rl->rep); \			free (rl); \			rl = r; \		} \	} while (0)static char *fc_dosubs __P((char *, REPL *));static char *fc_gethist __P((char *, HIST_ENTRY **));static int fc_gethnum __P((char *, HIST_ENTRY **));static int fc_number __P((WORD_LIST *));static void fc_replhist __P((char *));#ifdef INCLUDE_UNUSEDstatic char *fc_readline __P((FILE *));static void fc_addhist __P((char *));#endif/* String to execute on a file that we want to edit. */#define FC_EDIT_COMMAND "${FCEDIT:-${EDITOR:-vi}}"#if defined (STRICT_POSIX)#  define POSIX_FC_EDIT_COMMAND "${FCEDIT:-ed}"#else#  define POSIX_FC_EDIT_COMMAND "${FCEDIT:-${EDITOR:-ed}}"#endifintfc_builtin (list)     WORD_LIST *list;{  register int i;  register char *sep;  int numbering, reverse, listing, execute;  int histbeg, histend, last_hist, retval, opt, rh;  FILE *stream;  REPL *rlist, *rl;  char *ename, *command, *newcom, *fcedit;  HIST_ENTRY **hlist;  char *fn;  numbering = 1;  reverse = listing = execute = 0;  ename = (char *)NULL;  /* Parse out the options and set which of the two forms we're in. */  reset_internal_getopt ();  lcurrent = list;		/* XXX */  while (fc_number (loptend = lcurrent) == 0 &&	 (opt = internal_getopt (list, ":e:lnrs")) != -1)    {      switch (opt)	{	case 'n':	  numbering = 0;	  break;	case 'l':	  listing = 1;	  break;	case 'r':	  reverse = 1;	  break;	case 's':	  execute = 1;	  break;	case 'e':	  ename = list_optarg;	  break;	default:	  builtin_usage ();	  return (EX_USAGE);	}    }  list = loptend;  if (ename && (*ename == '-') && (ename[1] == '\0'))    execute = 1;  /* The "execute" form of the command (re-run, with possible string     substitutions). */  if (execute)    {      rlist = (REPL *)NULL;      while (list && ((sep = (char *)strchr (list->word->word, '=')) != NULL))	{	  *sep++ = '\0';	  rl = (REPL *)xmalloc (sizeof (REPL));	  rl->next = (REPL *)NULL;	  rl->pat = savestring (list->word->word);	  rl->rep = savestring (sep);	  if (rlist == NULL)	    rlist = rl;	  else	    {	      rl->next = rlist;	      rlist = rl;	    }	  list = list->next;	}      /* If we have a list of substitutions to do, then reverse it	 to get the replacements in the proper order. */      rlist = REVERSE_LIST (rlist, REPL *);      hlist = history_list ();      /* If we still have something in list, it is a command spec.	 Otherwise, we use the most recent command in time. */      command = fc_gethist (list ? list->word->word : (char *)NULL, hlist);      if (command == NULL)	{	  builtin_error (_("no command found"));	  if (rlist)	    FREE_RLIST ();	  return (EXECUTION_FAILURE);	}      if (rlist)	{	  newcom = fc_dosubs (command, rlist);	  free (command);	  FREE_RLIST ();	  command = newcom;	}      fprintf (stderr, "%s\n", command);      fc_replhist (command);	/* replace `fc -s' with command */      /* Posix says that the re-executed commands should be entered into the	 history. */      return (parse_and_execute (command, "fc", SEVAL_NOHIST));    }  /* This is the second form of the command (the list-or-edit-and-rerun     form). */  hlist = history_list ();  if (hlist == 0)    return (EXECUTION_SUCCESS);  for (i = 0; hlist[i]; i++);  /* With the Bash implementation of history, the current command line     ("fc blah..." and so on) is already part of the history list by     the time we get to this point.  This just skips over that command     and makes the last command that this deals with be the last command     the user entered before the fc.  We need to check whether the     line was actually added (HISTIGNORE may have caused it to not be),     so we check hist_last_line_added. */  /* Even though command substitution through parse_and_execute turns off     remember_on_history, command substitution in a shell when set -o history     has been enabled (interactive or not) should use it in the last_hist     calculation as if it were on. */  rh = remember_on_history || ((subshell_environment & SUBSHELL_COMSUB) && enable_history_list);  last_hist = i - rh - hist_last_line_added;  /* XXX */  if (saved_command_line_count > 0 && i == last_hist && hlist[last_hist] == 0)    while (last_hist >= 0 && hlist[last_hist] == 0)      last_hist--;  if (last_hist < 0)    {      sh_erange ((char *)NULL, _("history specification"));      return (EXECUTION_FAILURE);    }  if (list)    {      histbeg = fc_gethnum (list->word->word, hlist);      list = list->next;      if (list)	histend = fc_gethnum (list->word->word, hlist);      else	histend = listing ? last_hist : histbeg;    }  else    {      /* The default for listing is the last 16 history items. */      if (listing)	{	  histend = last_hist;	  histbeg = histend - 16 + 1;	/* +1 because loop below uses >= */	  if (histbeg < 0)	    histbeg = 0;	}      else	/* For editing, it is the last history command. */	histbeg = histend = last_hist;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91福利区一区二区三区| 亚洲欧洲av在线| 92精品国产成人观看免费| 日本欧美一区二区三区| 亚洲成人av在线电影| 亚洲乱码国产乱码精品精的特点 | 国产精品中文字幕日韩精品| 亚洲电影一级黄| 亚洲国产精品久久一线不卡| √…a在线天堂一区| 国产欧美一区二区精品性色超碰| 日韩免费视频线观看| 精品久久久三级丝袜| 精品理论电影在线观看| 久久综合狠狠综合| 国产欧美日韩三级| 亚洲欧洲精品一区二区三区| 亚洲男人的天堂在线观看| 亚洲精品国产一区二区精华液| 国产精品网曝门| 18成人在线观看| 自拍偷拍亚洲综合| 伊人夜夜躁av伊人久久| 亚洲大片免费看| 秋霞电影网一区二区| 国产黄色成人av| 91麻豆免费看| 欧美日韩国产综合一区二区三区| 337p亚洲精品色噜噜| 日韩精品一区二区在线| 国产亚洲婷婷免费| 一区二区三区四区亚洲| 水蜜桃久久夜色精品一区的特点 | 亚洲超碰97人人做人人爱| 免费在线观看成人| 国产伦精品一区二区三区视频青涩| 国产一区二区不卡在线| 99re在线视频这里只有精品| 欧美日韩一区二区三区四区| 日韩免费高清视频| 亚洲私人黄色宅男| 美洲天堂一区二卡三卡四卡视频| 国产精品一区二区久激情瑜伽| 色综合天天综合给合国产| 91丨九色porny丨蝌蚪| 欧美探花视频资源| 欧美精品一区二区在线观看| 亚洲欧洲综合另类| 蜜臀av在线播放一区二区三区| 精品系列免费在线观看| 在线视频国内自拍亚洲视频| 欧美一卡二卡三卡| 亚洲手机成人高清视频| 日本欧洲一区二区| 欧美系列在线观看| 国产欧美日韩中文久久| 午夜视频一区二区三区| 北条麻妃一区二区三区| 精品久久久久av影院| 亚洲人成影院在线观看| 高清av一区二区| 日韩一区二区在线观看视频播放| 中文字幕视频一区| 国产老肥熟一区二区三区| 欧美日韩亚洲另类| 亚洲欧美国产高清| 成人性生交大片免费看视频在线| 欧美一激情一区二区三区| 亚洲精品国久久99热| 成人性色生活片免费看爆迷你毛片| 日韩视频在线永久播放| 亚洲大尺度视频在线观看| 91亚洲男人天堂| 国产精品久久久久久久久图文区| 麻豆精品一二三| 欧美一区二区啪啪| 奇米影视7777精品一区二区| 日本精品裸体写真集在线观看| 国产情人综合久久777777| 国产在线观看免费一区| 日韩一区二区免费视频| 欧美aaa在线| 欧美精品久久99| 视频在线观看国产精品| 欧美精品一卡两卡| 免费亚洲电影在线| 精品久久国产字幕高潮| 国产伦精一区二区三区| 国产日韩精品一区二区浪潮av| 国产一区二区美女| 日本一区二区免费在线观看视频| 国产不卡视频一区| 欧美丰满一区二区免费视频| 亚洲国产精品视频| 欧美一级日韩一级| 久久精品72免费观看| 久久久国产综合精品女国产盗摄| 精品一区二区三区久久| 国产视频一区在线播放| 成人av在线看| 亚洲色图欧洲色图| 777久久久精品| 精一区二区三区| 国产欧美中文在线| 在线免费观看日本欧美| 视频一区欧美精品| 亚洲精品一区二区三区99| 国产福利精品一区| 亚洲精品视频免费看| 欧美精品 日韩| 国产精品综合视频| 一区二区三区日韩欧美| 777午夜精品免费视频| 国产成人自拍高清视频在线免费播放| 国产精品麻豆久久久| 欧美欧美欧美欧美| 粉嫩一区二区三区性色av| 亚洲综合色区另类av| 欧美精品一区在线观看| 日本久久精品电影| 韩国视频一区二区| 亚洲国产精品久久久久婷婷884 | 欧美精品久久99久久在免费线| 国产呦萝稀缺另类资源| 亚洲另类中文字| 精品国产乱码久久久久久影片| 97超碰欧美中文字幕| 日本不卡一区二区三区| 国产精品久久久久久久久免费樱桃| 欧美日本在线一区| 9i在线看片成人免费| 国产大片一区二区| 亚洲bdsm女犯bdsm网站| 国产精品你懂的在线| 日韩一区二区视频在线观看| bt欧美亚洲午夜电影天堂| 美女一区二区久久| 亚洲电影激情视频网站| 欧美激情中文不卡| 欧美不卡视频一区| 欧美人动与zoxxxx乱| 色综合久久久久久久久| 国产成人在线视频免费播放| 午夜av电影一区| 亚洲免费观看高清完整版在线| 久久亚洲春色中文字幕久久久| 欧美日韩一二区| 色成人在线视频| 成人91在线观看| 国产高清亚洲一区| 国产一区不卡在线| 久99久精品视频免费观看| 丝袜亚洲另类欧美综合| 一区二区三区四区av| 亚洲男人的天堂在线aⅴ视频| 精品1区2区在线观看| 欧美一级日韩免费不卡| 欧美一区2区视频在线观看| 欧美精品v日韩精品v韩国精品v| 色偷偷久久人人79超碰人人澡| av一区二区不卡| 成人精品国产福利| 成人av网址在线观看| 风间由美一区二区三区在线观看| 国产一区欧美二区| 国产91精品入口| a在线播放不卡| 99久久99久久精品国产片果冻 | 国产精品1024| 国产精品一级二级三级| 成人午夜激情在线| av一区二区三区在线| 欧美在线制服丝袜| 欧美高清激情brazzers| 日韩精品一区二区三区在线观看| 日韩午夜在线影院| 欧美国产日韩一二三区| 一区二区在线看| 日韩中文欧美在线| 日韩成人午夜电影| 国产激情一区二区三区| 91亚洲精品久久久蜜桃网站 | 中文字幕一区二区日韩精品绯色| 国产精品久久久久久久久动漫 | 亚洲精选视频在线| 亚洲午夜精品网| 日本成人在线看| 成人手机在线视频| 欧洲一区在线观看| 欧美一区二区三区视频在线观看| 欧美精品一区二区三区蜜桃视频| 国产日本一区二区| 亚洲一区二区美女| 国产精品一区二区在线看| 色噜噜狠狠色综合中国| 精品国产亚洲一区二区三区在线观看 | 毛片基地黄久久久久久天堂| 国产一区三区三区| 欧美亚州韩日在线看免费版国语版| 91精品福利在线一区二区三区 |