Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I want to write a ksh script with the following specification:
- prompt user to input 3 numbers (n1, n2, n3) which is corresponds to any 3 columns, except column 3, of file /etc/passwd;
- prompt user to input the full pathname of a output file;
- select only column 3, column n1, column n2, column n3 from file /etc/passwd;
- sort the content of 4 selected columns by value of user id column, column 3;
- output the sorted columns to the output file
Please reply me as soon as possible, thx, if you can, please reply me on 3 May, 2003

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |