# Assuming input is inputfile
# First replace the first comma with forward-slash (bar) ad save
sed 's/,/\//1' inputfile > temp
# Now take the temporary file and do the same (which replaces the 2nd comma)
sed 's/,/\//1' temp > outputfile
#print the result
cat outputfile
这应该可以解决问题:
示例运行: