Search Results

Search: Posts Made By: Scrutinizer
3,001
Posted By Scrutinizer
That is not the correct way to do it. When you...
That is not the correct way to do it.
When you execute
printf "%s\n" "${BEGIN_FROM}" "${LAST_TO}" "${OUT_FILE}" "${SRC_FILE_PTH}"
sed -n "${BEGIN_FROM},${LAST_TO} w ${OUT_FILE}" "${SRC_FILE_PTH}"...
3,001
Posted By Scrutinizer
I just tried it on AIX 7, the prompt indeed says:...
I just tried it on AIX 7, the prompt indeed says:
+ sed -n 10,14 w /opt/pcenter/sit2/rebates/TgtFiles/test.txt_split4 /opt/pcenter/sit2/rebates/TgtFiles/test.txt
So the quoting information is not...
3,001
Posted By Scrutinizer
I cannot reproduce this.. That should be...
I cannot reproduce this..

That should be something like:
==> sed -n "${BEGIN_FROM},${LAST_TO} w ${OUT_FILE}" "${SRC_FILE_PTH}"
+ sed -n '10,14 w...
3,001
Posted By Scrutinizer
sed -n "${BEGIN_FROM},${LAST_TO} w ${OUT_FILE}"...
sed -n "${BEGIN_FROM},${LAST_TO} w ${OUT_FILE}" "${SRC_FILE_PTH}"
is not the same as and does not translate into:

sed -n 1,3 w /opt/TgtFiles/test.txt_split1 /opt/TgtFiles/test.txt
The latter is...
3,001
Posted By Scrutinizer
Try leaving out the occurrences of \'
Try leaving out the occurrences of \'
Showing results 1 to 5 of 5

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