Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
BASH Word Scramble
metalx1000
Aug 19th, 2018
1,141
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Bash
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/bin/bash
function
scramble
(
)
{
local
s
=
$*
i
while
(
(
${#s}
)
)
;
do
(
(
i
=RANDOM
%
${#s}
)
)
echo
-n
"
${s:i:1}
"
s
=
${s::i}
${s:i+1}
done
}
scramble This is a
test
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
I made $2,000 in 20 minutes
CSS | 16 min ago | 0.24 KB
✅ API Glitch (Docs Leak)
CSS | 16 min ago | 0.25 KB
Crypto Method
CSS | 16 min ago | 0.25 KB
I made $2,000 in 20 minutes
CSS | 38 min ago | 0.24 KB
✅ API Glitch (Docs Leak)
CSS | 38 min ago | 0.24 KB
Crypto Method
CSS | 38 min ago | 0.24 KB
Task Manager config
Lua | 1 hour ago | 1.32 KB
Adding Stripe invoice API param
6 hours ago | 0.70 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!