Search Results

Search: Posts Made By: Blue Solo
1,596
Posted By Yoda
You can follow below steps:- for mtl_file in...
You can follow below steps:-

for mtl_file in `find /Users/username/Desktop/convert/Objects -name "Object.mtl" -type f`
do
p_dir=`echo ${mtl_file} | awk -F"/" ' { print $(NF-1) } '`
sed...
3,507
Posted By siva shankar
Try this... find...
Try this...
find /Users/username/Desktop/convert/ -name "Object.obj" -type f -exec sh -c '\
sed "s!\o primary*!g primary!" {} | sed "s!\o secondary*!g secondary!" > `dirname {}`/Object2.obj; \
rm...
1,034
Posted By ahamed101
awk 'function printme(){ printf "var "a " :...
awk 'function printme(){
printf "var "a " : Transform = Instantiate(prop"d", (Vector3("e") * scaleFactor) + mapPos, "
print "Quaternion.Euler(prop"d".transform.eulerAngles.x, "b",...
2,980
Posted By binlib
I guess you are not using gawk. The problem with...
I guess you are not using gawk. The problem with the replacement is that you can't just replace m2 with m1, for example, because it will replace m20 with m10. Since your step2 file always has the...
2,980
Posted By vgersh99
Just copy/paste the awk line. The rest was...
Just copy/paste the awk line. The rest was provided as the illustration of the output given your sample input.
Showing results 1 to 5 of 5

 

Featured Tech Videos

All times are GMT -4. The time now is 05:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy