Search Results

Search: Posts Made By: Scott
5,804
Posted By Scott
The nice perl solution makes this awk look very...
The nice perl solution makes this awk look very long, but anyway...


echo $ID 6 | awk '{ for( I=$2; I>0;I-- ) printf (I>1)?$1 FS:$1 RS } '
Showing results 1 to 1 of 1

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