This website requires JavaScript.
Explore
Help
Sign In
marrub
/
scripts
Watch
1
Star
0
Fork
You've already forked scripts
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
fd09841ac4
scripts
/
scripts
/
text
/
mid.awk
7 lines
88 B
Awk
Raw
Normal View
History
Unescape
Escape
spaces->tabs
2019-07-05 19:09:01 -07:00
{
z
=
col
-
length
y
=
int
(
z
/
2
)
x
=
z
-
y
printf
"%*s%s%*s\n"
,
x
,
""
,
$
0
,
y
,
""
add middle-print awk script
2019-05-14 22:12:41 -07:00
}