Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 26th, 2018
146
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Awk
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/usr/bin/awk -f
{
for
(
i=
1
; i
<=
NF
; i
++
)
{
if
(
match
(
$i
,
"-"
)
!=
0
)
{
split
(
$i
, estremi,
"-"
)
;
for
(
j=estremi
[
1
]
; j
<=
estremi
[
2
]
; j
++
)
printf
(
"%d "
, j
)
;
}
else
{
printf
(
"%d"
,
$i
)
;
}
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C# | 4 min ago | 4.76 KB
ImmortalHub v1.2
Lua | 13 min ago | 0.07 KB
Wayfire.ini_now
INI file | 19 min ago | 21.08 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 29 min ago | 0.38 KB
Code Example
Lua | 35 min ago | 8.95 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 36 min ago | 0.39 KB
Untitled
HTML | 57 min ago | 0.32 KB
Untitled
C# | 1 hour ago | 9.58 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!