The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
tranpose but some difference
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
tranpose but some difference
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
03-18-2009
ghostdog74
Registered User
Join Date: Sep 2006
Posts: 2,554
Quote:
Originally Posted by
vgersh99
nawk 'ORS=(FNR%2)?FS:RS' somedata
-->
Code:
nawk 'ORS=(FNR%2)?FS:RS' somedata
i did not get the output.
# awk 'ORS=(FNR%2)?FS:RS' file 2 4 6 8
-->
Code:
# awk 'ORS=(FNR%2)?FS:RS' file 2 4 6 8
ghostdog74
View Public Profile
Find all posts by ghostdog74
Find ghostdog74's past nominations received
Find ghostdog74's present nominations given