#!/bin/bash
#===============================================================================
#
# FILE: merge.sh
#
# USAGE: ./merge.sh
#
# DESCRIPTION: merge two lines
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: huys (), [email protected]
# COMPANY: HUYS .Inc
# VERSION: 1.0
# CREATED: 06/11/2008 01:47:29 AM CST
# REVISION: ---
#===============================================================================
#
DATAFILE=$1
OUTFILE=$2
#
#
sed '{
N
s/\r\n/ /
}' $DATAFILE > $OUTFILE
|