Board logo

標題: shell script 問題 [打印本頁]

作者: firelam    時間: 2010-8-5 09:38     標題: shell script 問題

shell script 問題 (bash shell 喇, 可以調用其它 command)

如果我想將一抽 hex嘅 string (variable length) 每兩個 character一組 轉做 ASCII 然後 print 出黎可以點樣做? THX

e.g.
./sandbox.s "4D434750"

Output:
==> MCGP


(擺係 programming 版無人答, 睇下呢度有無高手幫到手)
作者: little_keung    時間: 2010-8-5 09:52

shell script 問題 (bash shell 喇, 可以調用其它 command)

如果我想將一抽 hex嘅 string (variable lengt ...
firelam 發表於 2010-8-5 09:38


o岩o岩我先嚮隔籬答o左!!





歡迎光臨 電腦領域 HKEPC Hardware (https://h1.hkepc.com/forum/) Powered by Discuz! 7.2