This is a discussion on unable to cut required field 1 from this output within the Shell scripting forums, part of the Development/Scripting category; Hi Everyone, I am just unable to cut the 1st field. I require to cut the 1st field to work ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hi Everyone,
I am just unable to cut the 1st field. I require to cut the 1st field to work on that specific job-id, but I am just unable to do it. I think there is something wrong in the o/p file generated. Code:
job-ID prior name user state submit/start at queue slots ja-task-ID
-----------------------------------------------------------------------------------------------------------------
466 0.55500 runit38 user1 r 08/16/2005 10:22:25 comp1-3@comp1-3.cha 1
467 0.55500 runit39 user1 r 08/16/2005 10:22:25 comp1-3@comp1-3.cha 1
468 0.55500 runit40 user1 r 08/16/2005 10:22:30 comp1-4@comp1-4.cha 1
469 0.55500 runit41 user1 r 08/16/2005 10:22:30 comp1-4@comp1-4.cha 1
470 0.55500 runit42 user1 r 08/16/2005 10:22:35 comp1-5@comp1-5.cha 1
471 0.55500 runit43 user1 r 08/16/2005 10:22:35 comp1-5@comp1-5.cha 1
465 0.55500 runit37 user1 r 08/15/2005 18:17:35 comp1-3@comp1-3.cha 1
472 0.55500 runit44 user1 r 08/16/2005 10:22:35 comp1-4@comp1-4.cha 1
473 0.55500 runit45 user1 r 08/16/2005 10:22:40 comp1-4@comp1-4.cha 1
Code:
job-ID ------------------------------------------------------------------------------------------------------ Can anyone pls see what could be wrong with the out put or is there anything else to do with the options of cut. Thanks |
| Sponsored Links | ||
|
|
|
|||
|
Thank you Nixcraft.
It worked. Pls don't mind if I ask too many things you all think are actually trivial. I am new to this all and believe me, I am very happy that I get help from the members of this forum. As for now, I am still learning and hope that one day I can surely help someone else. Thanks again for the help. |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| squid report required | jhn_daz@yahoo.com | Networking, Firewalls and Security | 1 | 02-11-2008 05:31 PM |
| About iptables output | satimis | Networking, Firewalls and Security | 0 | 09-30-2007 09:30 AM |
| shell scripts required for students | roni | Shell scripting | 6 | 07-20-2007 07:21 PM |
| How to redirect Output | puppen | Shell scripting | 15 | 12-06-2006 09:44 PM |
| required linux email help | vaishalichitale | Linux software | 4 | 06-20-2006 02:20 PM |