I'm using zsh/ When I enter the following on the command line, I get the expected result: echo ann001.jpg | awk "{ print substr(\$0, 1, length(\$0) -7 ) }" Expect result = ann But, when I do this: OUT=`echo ann001.jpg | awk "{ print substr(\$0, 1, length(\$0) -7 ) }"` I get back nothing. The variable is empty. Anyone have an idea as to why the aboce isn't working? Thanks in advnace. MB -- e-mail: vidiot@xxxxxxxxxx /~\ The ASCII \ / Ribbon Campaign [So it's true, scythe matters. Willow 5/12/03] X Against Visit - URL: http://vidiot.com/ / \ HTML Email -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list