The here string is easy to replace with a here document, but `sh` doesn't have arrays. You'll need to provide more context about how `databases` is used to pick a suitable replacement.
– chepnerNov 21 '13 at 14:20
@glennjackman Ignore my comment, (it was incorrect), the correct way to change your shell (which is what I assume, OP is trying to do) is: http://stackoverflow.com/a/13046283/1220089
– ffledglingNov 21 '13 at 17:54
it is hard because OS is FreeBSD 8.3. and i don't had some packets for install bash shell.
– Michail M.Nov 22 '13 at 05:45