我只是尝试将变量放入变量但它不起作用......我该如何修复它?
DEL=$(find . -type f | sed "s/^.*\///g" | sed -n '/\./p' | sed "s/.*\.//g" | uniq)
EL=$(${DEL} | tr '\n' ',' | sed 's/,$//')
答案 0 :(得分:1)
你可以尝试
EL=$(echo "$DEL" | tr '\n' ',' | sed 's/,$//')
或
private void TicForm_Load(object sender, EventArgs e)
{
//picture1 is the name of a pictureBox created on TicForm.cs (Design)
picture1.Load(imageUrl);
}