I have a one-line shell script that I submit to the background from the command line. I saved this as a file named np4178.job. When I look at np4178.job using
When I open this file in
What is happening?
more
I see this:
Code:
export HPNP=4178 ; socat TCP4-LISTEN:4178,bind=192.168.216.179,fork,reuseaddr,su=hp3000 SYSTEM:'sed -r "1s/^.{42}//" | cat /var/spool/hp3000/forms/hll_inv_ljiii_85.ovl - | gpcl6 -dNOSAFE -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=/var/spool/hp3000/np${HPNP}/HP3000-INV-$(date -Iseconds)-%03u.pdf -' &
When I open this file in
vim
I also see the text content. However, if I open the file in gvim
then I see this:What is happening?