#!/bin/bash cat nowcoder.txt | awk '{ print $1 }' | tr -s '\n' ' ' echo "" cat nowcoder.txt | awk '{ print $2 }' | tr -s '\n' ' '