# Assistance understanding a UNIX script

**URL:** <https://community.unix.com/t/assistance-understanding-a-unix-script/371810>\
**Category:** Shell Programming and Scripting\
**Created:** [April 16, 2018, 2:29pm UTC](https://community.unix.com/t/assistance-understanding-a-unix-script/371810 "2018-04-16T14:29:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![B00GS](https://community.unix.com/letter_avatar/b00gs/32/6_449c533f586939b6e5f246632a46421f.png) [@B00GS](https://community.unix.com/u/B00GS)\
**Post date:** [April 16, 2018, 2:29pm UTC](https://community.unix.com/t/assistance-understanding-a-unix-script/371810/1 "2018-04-16T14:29:30Z")

</div>

Hello, If I could get some assistance breaking down this Unix script in order to better understand it. A co-worker wrote this script and is no longer with us. I believe this script converts documents into .txt files, but we are trying to edit it so that it converts documents to .pdf automatically instead of .txt

\*Please see attached. Thank you in advance!

---

<div class="post-metadata">

**Author:** ![bakunin](https://community.unix.com/letter_avatar/bakunin/32/6_449c533f586939b6e5f246632a46421f.png) [@bakunin](https://community.unix.com/u/bakunin)\
**Post date:** [April 16, 2018, 4:49pm UTC](https://community.unix.com/t/assistance-understanding-a-unix-script/371810/2 "2018-04-16T16:49:08Z")

</div>

> [@b00gs](#):
>
> Hello, If I could get some assistance breaking down this Unix script in order to better understand it.

No problem, but PLEASE: put it here in plain text format and enclosed in CODE-tags. Looking at a graphics-file in PNG-format, which will explicitly forbid copying and pasting as a means to refer to certain parts is simply ridiculous.

Thanks in advance.

bakunin
