1 我有这样的事情: a line here; a new line here; another line here; 我希望它就像是,所有的线都组合成一条线。 a line here;a new line here;another line here; command-line bash unix — slycat source
1 (以防Windows上有人需要这个。)在PowerShell中它是 -join (Get-Content filename) 或更短: -join(gc filename) — Joey source