Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Lab9-q2
tike
Nov 17th, 2015
264
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Bash
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/bin/bash
if
[
[
$#
-gt
0
]
]
;
then
size
=
${#1}
for
(
(
i =
0
; i
<
$size
; i++
)
)
;
do
index
=$
(
(
$size
-
$i
)
)
result+=
${1:$(($index-1)):1}
done
fi
echo
$result
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Crypto admin access
7 min ago | 0.43 KB
Free Crypto Method
CSS | 8 min ago | 0.72 KB
Documents
27 min ago | 0.43 KB
+12,000$ in 2 days
CSS | 47 min ago | 0.72 KB
remote_execution_from_VSCODE
3 hours ago | 0.92 KB
Notices blood
5 hours ago | 0.81 KB
discord chat view
Python | 10 hours ago | 9.23 KB
systemd-socket-test (AI + Human)
Python | 22 hours ago | 9.34 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!