paste
is good for this job:
paste -d " " - - < filename
More Related Contents:
- How can I manipulate text in bash? [closed]
- Grep output with multiple Colors?
- How to delete rows from a csv file based on a list values from another file?
- How to grep for case insensitive string in a file?
- Convert 11/2/1998 to 110298 [duplicate]
- Some troubles with using sed and awk [closed]
- How can I do a recursive find/replace of a string with awk or sed?
- Bash tool to get nth line from a file
- Extraction of data from a simple XML file
- Remove first N lines of a file in place in unix command line
- How to add to the end of lines containing a pattern with sed or awk?
- Check if all of multiple strings or regexes exist in a file
- How to remove double-quotes in jq output for parsing json files in bash?
- How to find/replace and increment a matched number with sed/awk?
- find difference between two text files with one item per line [duplicate]
- Using grep to search for hex strings in a file
- How to append a string at end of a specific line in a file in bash [duplicate]
- How to strip out all of the links of an HTML file in Bash or grep or batch and store them in a text file
- using bash (sed/awk) to extract rows AND columns in CSV files?
- How to pass a variable containing slashes to sed
- Fast way of finding lines in one file that are not in another?
- awk in bash with ls and variable
- Checking if output of a command contains a certain string in a shell script
- Remove Unicode characters from textfiles – sed , other Bash/shell methods
- How to replace an entire line in a text file by line number
- How to make awk ignore the field delimiter inside double quotes? [duplicate]
- Uppercasing First Letter of Words Using SED
- Extract version number from a string
- Extract lines between two patterns from a file [duplicate]
- Get java version number from python