in reply to Replace a Hex Value in Column

C:>SET CSV="Feb 2, 2018 10:50:49.996148000 ";"172.16.21.120";"54859";" +196.58.210.193";"9889";"19:68:09:24:00:5b:00:7e:53:53:4c:2e:47:6f:6f: +67:6c:65:00:00:00:00:00:00" C:>echo %CSV% | perl -F; -ane "$F[5]=qq|\"BitTorrent\"|;print join q| +;|,@F" "Feb 2, 2018 10:50:49.996148000 ";"172.16.21.120";"54859";"196.58.210. +193";"9889";"BitTorrent"
For Linux, remove "SET", use $CSV for %CSV%, and use single quotes for the perl command.

                Is a computer language with goto's totally Wirth-less?

Replies are listed 'Best First'.
Re^2: Replace a Hex Value in Column
by BillKSmith (Monsignor) on Feb 02, 2018 at 19:57 UTC
    Great way to meet the specification. Do you really think that this is what's intended?
    Bill
      Sorry about that - it was not intended to be cynical. I was genuinely confused about where the OP was getting "BitTorrent" from.

                      Is a computer language with goto's totally Wirth-less?

Re^2: Replace a Hex Value in Column
by ktham33n (Novice) on Feb 03, 2018 at 08:04 UTC
    Thanks Bill,but that was out of scope Hexs are dynamic.