shell 使用sed去除换行以及去除空格 去除换行: sed ":a;N;s/ //g;ta" result 去除所有空格 sed s/[[:space:]]//g result 联系方式:emhhbmdfbGlhbmcxOTkxQDEyNi5jb20=