Need some help here!!

Hello, I am trying to get this script to run.

#!bin/sh

if [ /home/student/998/81/29 ]; then cd /home/student/998/81/29 mkdir 9988129 fi

The problem I am encountering is when I keep it all on a single line. If I break up the script on new lines it works fine. Here is the catch this exports from our accounts database so I have little control of the structure. It exports it all in a single line. If anyone can help I would greatly appreciate it.

Thank You,
JW

if [ -d /home/student/998/81/29 ]; then cd /home/student/998/81/29; mkdir 9988129; fi

It worked perfect.

Thanks Porter