mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	defect: 4133: fix the code to transfer escape character for the output of getpostscript.awk
This commit is contained in:
		| @@ -508,7 +508,7 @@ if [ ! -x /$xcatpost/mypostscript ]; then | ||||
|       useflowcontrol=0 | ||||
|    fi  | ||||
|   fi | ||||
|   /$xcatpost/getpostscript.awk | egrep  '<data>' | sed  -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' | sed -e 's/</</' -e 's/>/>/' -e 's/&/&/' -e 's/"/"/' -e "s/'/'/" >  /$xcatpost/mypostscript; | ||||
|   /$xcatpost/getpostscript.awk | egrep  '<data>' | sed  -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' | sed -e 's/</</g' -e 's/>/>/g' -e 's/&/\&/g' -e 's/"/"/g' -e "s/'/'/g" >  /$xcatpost/mypostscript; | ||||
|  | ||||
|  | ||||
|  MYCONT=`grep MASTER /$xcatpost/mypostscript` | ||||
| @@ -539,7 +539,7 @@ if [ ! -x /$xcatpost/mypostscript ]; then | ||||
|         useflowcontrol=0 | ||||
|       fi  | ||||
|     fi | ||||
|     /$xcatpost/getpostscript.awk | sed  -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' | sed -e 's/</</' -e 's/>/>/' -e 's/&/&/' -e 's/"/"/' -e "s/'/'/" >  /$xcatpost/mypostscript; | ||||
|     /$xcatpost/getpostscript.awk | sed  -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' | sed -e 's/</</g' -e 's/>/>/g' -e 's/&/\&/g' -e 's/"/"/g' -e "s/'/'/g" >  /$xcatpost/mypostscript; | ||||
|     MYCONT=`grep MASTER /$xcatpost/mypostscript` | ||||
|     if [ ! -z "$MYCONT" ]; then | ||||
|         break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user