Search Results

Search: Posts Made By: era
3,578
Posted By era
You could use printf and then replace spaces with...
You could use printf and then replace spaces with asterisks.

awk '{ p=sprintf("%3s%7s", $1, $2); gsub(/ /, "*", p); print p }' a.txt

If your awk doesn't have the gsub function, see if you can...
Showing results 1 to 1 of 1

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