do you work under linux or windows to run awk utility...? Your awk code is correct, just write the following command on linux: awk -f fil2.awk out.tr > 1.txt you will get like the attach file .. it work well.
Mohammed AbuHajar Palestine ----- Original Message ---- From: loussayef marouane <[EMAIL PROTECTED]> To: Mohammed Abu Hajar <[EMAIL PROTECTED]> Sent: Thursday, November 29, 2007 8:43:35 PM Subject: Re : Yes Sir Hi, file is attached awk -f fil2.awk out.tr > out2.xgr Thanks ----- Message d'origine ---- De : Mohammed Abu Hajar <[EMAIL PROTECTED]> À : loussayef marouane <[EMAIL PROTECTED]> Envoyé le : Jeudi, 29 Novembre 2007, 12h38mn 35s Objet : Yes Sir/Madam Yes, if you can sent to me the awk script file and fil2.awk its good, The problem may be in your awk file there something error. Yours Sincerely, Mohammed AbuHajar ----- Original Message ---- From: loussayef marouane <[EMAIL PROTECTED]> To: Mohammed Abu Hajar <[EMAIL PROTECTED]> Sent: Thursday, November 29, 2007 3:44:47 PM Subject: Re : Re : [ns] help : error Hi, when I run my program and execute awk -f fil2.awk out.tr > out2.xgr the file out2.xgr contain juste one value! can you help me please. thanks ----- Message d'origine ---- De : Mohammed Abu Hajar <[EMAIL PROTECTED]> À : loussayef marouane <[EMAIL PROTECTED]> Envoyé le : Jeudi, 29 Novembre 2007, 2h56mn 10s Objet : Re: Re : [ns] help : error which graph utility do you use? ----- Original Message ---- From: loussayef marouane <[EMAIL PROTECTED]> To: Mohammed Abu Hajar <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2007 10:16:04 PM Subject: Re : [ns] help : error Hi, I resolve error, awk is working. but when I show a graph it's null. I don't know a problem. Can you help me please. Thanks ----- Message d'origine ---- De : Mohammed Abu Hajar <[EMAIL PROTECTED]> À : loussayef marouane <[EMAIL PROTECTED]> Cc : NS_2 Mailing List <ns-users@isi.edu> Envoyé le : Mercredi, 28 Novembre 2007, 3h03mn 44s Objet : Re: [ns] help : error Yes Sir, Try to execute the command awk -f f0.awk out.tr > t0.xgr on linux command line prompt including the tcl file, I face this problem previous and solve it later like this Mohammed AbuHajar ----- Original Message ---- From: loussayef marouane <[EMAIL PROTECTED]> To: ns-users@ISI.EDU Sent: Wednesday, November 28, 2007 1:04:55 AM Subject: [ns] help : error Hello, can anyone help me for this error message ns: finish: awk: syntax error near line 1 awk: bailing out near line 1 while executing "exec awk -f f0.awk out.tr > t0.xgr" (procedure "finish" line 7) invoked from within "finish" Thanks _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now. Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail Get easy, one-click access to your favorites. Make Yahoo! your homepage. Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail ____________________________________________________________________________________ Get easy, one-click access to your favorites. Make Yahoo! your homepage. http://www.yahoo.com/r/hs
0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 1600000 21 1600000 22 1592000 23 1608000 24 1592000 25 1600000 26 1608000 27 1592000 28 1600000 29 1608000 30 1592000 31 1600000 32 1608000 33 1592000 34 1608000 35 1600000 36 1600000 37 1600000 38 1600000 39 1592000 40 1608000 41 1600000 42 1592000 43 1608000 44 1600000 45 1592000 46 1600000 47 1600000 48 1608000 49 1592000 50 1608000 51 1600000 52 1600000 53 1600000 54 1592000 55 1600000 56 1608000 57 1600000 58 1592000 59 1600000 60 808000 61 800000 62 752000 63 712000 64 856000 65 864000 66 760000 67 728000 68 792000 69 744000 70 824000 71 784000 72 872000 73 736000 74 800000 75 792000 76 808000 77 848000 78 864000 79 784000 80 848000 81 752000 82 824000 83 776000 84 776000 85 832000 86 824000 87 728000 88 784000 89 816000 90 768000 91 760000 92 776000 93 768000 94 776000 95 792000 96 800000 97 768000 98 752000 99 760000 100 592000 101 672000 102 456000 103 480000 104 544000 105 544000 106 504000 107 504000 108 592000 109 440000 110 552000 111 584000 112 512000 113 528000 114 408000 115 520000 116 424000 117 488000 118 568000 119 488000 120 368000 121 520000 122 536000 123 488000 124 576000 125 496000 126 520000 127 536000 128 536000 129 424000 130 520000 131 448000 132 496000 133 544000 134 528000 135 488000 136 416000 137 512000 138 480000 139 544000 140 576000 141 480000 142 536000 143 408000 144 496000 145 544000 146 568000 147 536000 148 504000 149 544000 150 104000 151 0 152 0 153 0 154 0 155 0 156 0 157 0 158 0 159 0 160 0 161 0 162 0 163 0 164 0 165 0 166 0 167 0 168 0 169 0 170 0 171 0 172 0 173 0 174 0 175 0 176 0 177 0 178 0 179 0 180 0 181 0 182 0 183 0 184 0 185 0 186 0 187 0 188 0 189 0 190 0 191 0 192 0 193 0 194 0 195 0 196 0 197 0 198 0 199 0 200 0