geermu
asked on
column to row
How to convert a single column data to a row using
unix command(s)? For example, convert
4
12
A
B33
to
4 12 A B33
Thank you.
unix command(s)? For example, convert
4
12
A
B33
to
4 12 A B33
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
echo `cat file`
another one :
for i in `cat file`
do
print -n $i" "
done
Between " " you can put some delimiters.
for i in `cat file`
do
print -n $i" "
done
Between " " you can put some delimiters.
ASKER
Outstanding! Thank you all.
I will accept ozo's comment as an answer. ¡¡
I will £á£ì£ó£ï¡¡£ã£ò£å£á£ô¡¡£á£ä £ä£ô£é£ï£î £á£ì¡¡£ô£÷ £ï¡¡£ñ£õ£å £ó£ô£é£ï£î £ó
£ï£æ¡¡£µ£°¡¡£ð£ï£é£î£ô£ó¡¡ £æ£ï£ò¡¡£å £ã£÷¡¡£á£î £ä¡¡£å£ì£æ £é£å¡¡£æ£ï £ò¡¡£ô£è£å
£è£å£ì£ð£æ£õ£ì¡¡£é£î£æ£ï£ò £í£á£ô£é£ï £î¡¡£ð£ò£ï £ö£é£ä£å£ä £®
I will accept ozo's comment as an answer. ¡¡
I will £á£ì£ó£ï¡¡£ã£ò£å£á£ô¡¡£á£ä
£ï£æ¡¡£µ£°¡¡£ð£ï£é£î£ô£ó¡¡
£è£å£ì£ð£æ£õ£ì¡¡£é£î£æ£ï£ò