由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - what is wrong with my alias?
相关主题
How to find a file in the deep children directory?replace a string in all files under a directory?
问一个列目录的问题Re: 如何用grep查找子目录下的文件?--stop!
我的alia放在script里为什么不工作?Re: 如何用grep查找子目录下的文件?
够执着的 --- Re: 我的alia放在script里为什么不工作?sed? awk? or mak a program?
如何把一个目录下的文件名全部改成小写?how to grep a string in all sub-dirs?
[转载] How to list the files with specific permission?how to escape both ' and " from tcsh?
shell programming problemswhere is the pre-build version of cxterm-solaris
How do i get a list of all computers?tc shell script??
相关话题的讨论汇总
话题: alias话题: awk话题: view话题: wrong话题: what
进入Unix版参与讨论
1 (共1页)
t*******l
发帖数: 421
1
alias view " grep 'user name' */*/* |awk '{print $1,$3,$4}' > test "
thanks.
D**e
发帖数: 10169
2
view is vi. try other name.

【在 t*******l 的大作中提到】
: alias view " grep 'user name' */*/* |awk '{print $1,$3,$4}' > test "
: thanks.

r********s
发帖数: 179
3
that's not the point. $n (n=1-9) means positional parameters to shell,
whereas it is used as a symbol of fields in awk.
you will see those fields disappearing by "alias view".

【在 D**e 的大作中提到】
: view is vi. try other name.
1 (共1页)
进入Unix版参与讨论
相关主题
tc shell script??如何把一个目录下的文件名全部改成小写?
Where's emacs' private dictionary?[转载] How to list the files with specific permission?
UNIX Tip: the bad and the goodshell programming problems
HELP!! (CXTERM) How do i get a list of all computers?
How to find a file in the deep children directory?replace a string in all files under a directory?
问一个列目录的问题Re: 如何用grep查找子目录下的文件?--stop!
我的alia放在script里为什么不工作?Re: 如何用grep查找子目录下的文件?
够执着的 --- Re: 我的alia放在script里为什么不工作?sed? awk? or mak a program?
相关话题的讨论汇总
话题: alias话题: awk话题: view话题: wrong话题: what