Search Results

Search: Posts Made By: Vinsanity
6,596
Posted By Vinsanity
So encoding that, it would look like this...
So encoding that, it would look like this correct?

cp -f ${SRCEFILE} ${TARGETFILE}

resultcode=$?
if [[ $resultcode != 0 ]]
then
echo "Error: Copying ${SRCEFILE} to...
6,596
Posted By Vinsanity
How do I code that? Here is the segment of my...
How do I code that? Here is the segment of my code where I unzip the file?

#Copy and uncompress the file

cp -f ${SRCEFILE} ${TARGETFILE}

resultcode=$?
if [[ $resultcode != 0 ]]...
6,596
Posted By Vinsanity
Here is what I got: * 0632760 \r ...
Here is what I got:

*
0632760 \r \n 2 0 3 1 0 6 7 1 , 7 3 0
0633000 7 , P R T _ F R _ F O S - P R I
0633020 _ S A _ D...
6,596
Posted By Vinsanity
I got an error when I ran my scripts using sed...
I got an error when I ran my scripts using
sed 'g/^ *$/d'
sed: Function g/^ *$/d cannot be parsed.
But when I double checked my code, it was enclosed in single quotes.

Here is the code:...
6,596
Posted By Vinsanity
Remove Blank Rows
Hello All, I am having a problem in automating my UNIX Script to remove the blank spaces in between records. When I incorporate it into my script, the output file is deleting the whole content...
Showing results 1 to 5 of 5

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