[ale] OT: Help with _funky_ characters in bash script

Johnny Preyer JPreyer at sprich.com
Wed Jul 9 10:39:29 EDT 2003


maybe:

echo $WORKSIZE > /your/output.file  ?????

do you know what kind of funky characters you are encountering?  maybe 

ls -lsa ${WORKDIR}/${CASEPROJ}.urest | awk '{print $1}'  | od -c 

can tell you exactly what's funky

> -----Original Message-----
> From:	Jeff Layton [SMTP:jeffrey.b.layton at lmco.com]
> Sent:	Wednesday, July 09, 2003 10:31 AM
> To:	ale at ale.org
> Subject:	[ale] OT: Help with _funky_ characters in bash script
> 
> Good morning!
> 
>    I've been struggling with a simple bash script and I'm
> stuck on some _funky_ characters. What I want to do is
> echo the following bash line:
> 
> WORKSIZE=`ls -lsa ${WORKDIR}/${CASEPROJ}.urest | awk '{print $1}' `
> 
> to a file (I hope these characters some through correctly :)
> Does anybody have a way to echo all of this line, including
> the _funky_ characters, to a file?
> 
> 
> TIA!
> 
> Jeff
> 
> 
> -- 
> Dr. Jeff Layton
> Chart Monkey - Aerodynamics and CFD
> Lockheed-Martin Aeronautical Company - Marietta
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list