Search Results

Search: Posts Made By: RudiC
5,690
Posted By RudiC
man nl ?
man nl ?
5,690
Posted By RudiC
Try also awk '{print (NR-1)*5, $0}' file 0 abcd...
Try also awk '{print (NR-1)*5, $0}' file
0 abcd
5 efg
10 hijklm
15 nopqrs

or
awk '$0=(NR-1)*5" " $0' file
Showing results 1 to 2 of 2

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