在shell中怎么读取文件后按列输出

在shell中如何读取文件后按列输出
在shell中如何读取文件后按列输出
例如
as ds fd sd
sdf df
变成
as
ds
fd
sd
sdf
df
------解决方案--------------------
awk '{for(i=1;i<=NF;i++){print $i}}' file
------解决方案--------------------
sed 's/[ \t]\+/\n/g' a.txt