Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5762532
  • 博文数量: 675
  • 博客积分: 20301
  • 博客等级: 上将
  • 技术积分: 7671
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-31 16:15
文章分类

全部博文(675)

文章存档

2012年(1)

2011年(20)

2010年(14)

2009年(63)

2008年(118)

2007年(141)

2006年(318)

分类:

2006-07-19 18:07:17

<&n redirect standard input from file descriptor n
>&n redirect standard output to file descriptor n
n redirect file descriptor n from file
n>file redirect file descriptor n to file
n>>file redirect file descriptor n to file. Create file if non-existent, else overwrite.
n>| file redirect file descriptor n to file. Create file even if noclobber is enabled.
n<&m redirect file descriptor n input from file descriptor m
n>&m redirect file descriptor n output to file descriptor m
n<>file open file for reading and writing as file descriptor n
n< redirect to file descriptor n until word is read
n<<-word redirect to file descriptor n until word is read; ignore leading tabs
n<&- close file descriptor n for standard input
n>&- close file descriptor n for standard output
print &un args redirect arguments to file descriptor n. If n is greater than 2, it must first be opened with exec. If n is not specified, the default file descriptor argument is 1 (standard output).
read &un args read input line from file descriptor n. If n is greater than 2, it must first be opened with exec. If n is not specified, the default file descriptor argument is 0 (standard input).
阅读(792) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~