Using awk to print all fields left
2008-09-11 15:34
281 查看
[root@Alec | ~/test]#cat temp.txt
1 2 3
1 2
1 2 3 4
1 2 3 4 5
[root@Alec | ~/test]#awk '{$1=$2="";print}' temp.txt
3
3 4
3 4 5
[root@Alec | ~/test]#
1 2 3
1 2
1 2 3 4
1 2 3 4 5
[root@Alec | ~/test]#awk '{$1=$2="";print}' temp.txt
3
3 4
3 4 5
[root@Alec | ~/test]#
相关文章推荐
- How to load all files from directory using JQuery ?
- Accessing the AutoCAD objects referred to by fields using .NET
- How to make gdb print out all values in hexadecimal mode?
- Using BitSet to to judge if string a contains all letters in string b
- using lldb to print array data
- linux using awk to run command
- How to Close All Open Browsers Using QTP
- 项目管理实践【六】自动同步数据库【Using Visual Studio with Source Control System to synchronize database automaticall
- 项目管理实践【六】自动同步数据库【Using Visual Studio with Source Control System to synchronize database automaticall
- Write a program to print all permutations of a given string
- How to override the default item save event using custom fields
- Write a program to print the fibonacci series sum upto a particular no. using recursion.
- Print all Jumping Numbers smaller than or equal to a given value
- 【Ant】How to print all the system properties in Ant build file
- enable all verbs to application hosting on IIS 7.5 and using Asp.net 4.0
- 项目管理实践【六】自动同步数据库【Using Visual Studio with Source Control System to synchronize database automaticall
- Light is falling on a tree from left side you have to find all the nodes on which this light will fa
- How To Print Using Custom Page Sizes on Windows NT and Windows 2000(VB6)
- Write a C program to print all permutations of a given string
- Use Backtracking to print all Subsets