打赏

星辰大海ゞ

That which does not kill us makes us stronger!

导航

2016年4月18日 #

linux shell实现 URL 编码/解码方法

摘要: (1)编码的两种方法 # echo '手机' | tr -d '\n' | xxd -plain | sed 's/\(..\)/%\1/g' # echo '手机' |tr -d '\n' |od -An -tx1|tr ' ' % (2)解码的两个步骤: # url="要解码的URL地址" # 阅读全文

posted @ 2016-04-18 15:33 星辰大海ゞ 阅读(4685) 评论(0) 推荐(0)