Search Results

Search: Posts Made By: iconig
3,016
Posted By Franklin52
Replace FS with RS.
Replace FS with RS.
3,016
Posted By rdcwayx
$ awk '{for (i=1;i<=NF;i++) if (i<=NR) printf $i...
$ awk '{for (i=1;i<=NF;i++) if (i<=NR) printf $i FS}' infile
1 0 8 9 2 6 6 8 9 6 7 9 4 9 9 9 0 3 4 7 9

$ awk '{for (i=1;i<=NF;i++) if (i<NR) printf $i FS}' infile
0 9 2 6 8 9 7 9 4 9 9 0 3 4 7
2,862
Posted By Don Cragun
Assuming that your version of awk has lots of...
Assuming that your version of awk has lots of memory and no limits on output line lengths, your system has a LARGE value for ARG_MAX, and that your shell doesn't limit the number of arguments you can...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 05:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy