Search Results

Search: Posts Made By: hpodhrad
3,328
Posted By hpodhrad
BINGO! There it is. I used the $...
BINGO! There it is. I used the
$ IFS="$(printf "\375")"
and life is good.

You are on a roll Corona! 2 for 2 now.
Forum: AIX 07-18-2012
5,215
Posted By hpodhrad
Where would those log messages be? ...
Where would those log messages be?

---------- Post updated at 01:45 PM ---------- Previous update was at 01:39 PM ----------

I have set the CVS_CLIENT_LOG variable on the client to c:\cvslog....
3,328
Posted By hpodhrad
Attachment
Corona, this is the file I am trying to read and parse. I had to change it to a .txt file for the upload.
Forum: AIX 07-18-2012
5,215
Posted By hpodhrad
Using cvs on AIX
Hello. I am using CVS on my AIX 6.1 box. I have gotten the repository setup and everything is working from command line. Now I want to use CVS on my Windows 7 machine using the remote repository...
3,328
Posted By hpodhrad
I probably did this the hard way, but I iterated...
I probably did this the hard way, but I iterated through the string 1 character at a time and added that character to a different string. When the character was 253 I added a ~ instead of Character...
24,479
Posted By hpodhrad
Thanks for all the help on this everyone! Once I...
Thanks for all the help on this everyone! Once I got it through that I did not need to "stuff" it all into a variable, life became a whole lot better!!
3,328
Posted By hpodhrad
$file EIR.ENTRY2 EIR.ENTRY2: data or...
$file EIR.ENTRY2
EIR.ENTRY2: data or International Language text

I did not use any of the flags and used the /etc/magic.cat by default. Is this what you were looking for Corona?

----------...
24,479
Posted By hpodhrad
SWEET!!!!!!!!!!!!
It took me walking away from this and going camping for a weekend to see things from your point of view Corono688. Once I tried to stop stuffing everything in a variable and let UNIX do it's thing,...
24,479
Posted By hpodhrad
Scrutinizer - It does not differ. I have tried...
Scrutinizer - It does not differ. I have tried exactly that.

#!/bin/bash -x
#b.sh
echo $1
STMT="cvs commit -m "$1" ./q.sh"
$STMT



$b.sh "First Second Third"
+ echo First Second Third...
24,479
Posted By hpodhrad
Tried something new #!/bin/bash -x #b.sh ...
Tried something new
#!/bin/bash -x
#b.sh
echo $1
STMT="cvs commit -m "\"$1\"" ./q.sh"
echo $STMT
STMT2="cvs commit -m "$1" ./q.sh"
echo $STMT2
STMT3="cvs commit -m \"$1\" ./q.sh"
echo $STMT3...
24,479
Posted By hpodhrad
I removed the -x #!/bin/bash #a.sh echo...
I removed the -x

#!/bin/bash
#a.sh
echo $1
./b.sh "$1"

#!/bin/bash
#b.sh
echo $1
STMT="cvs commit -m "$1" ./q.sh"
$STMT


How does that differ from your code as given?

This is my...
24,479
Posted By hpodhrad
I have tried to get this to the bare essentials. ...
I have tried to get this to the bare essentials. What I want to do is pass a string from a.sh to b.sh and echo that to the screen.

#!/bin/bash -x
#a.sh
echo $1
./b.sh $1

#!/bin/bash -x...
24,479
Posted By hpodhrad
CVS has the ability to store commit messages for...
CVS has the ability to store commit messages for each version of a file. These messages tend to be very descriptive and are entered by the user explaining what they did to the file.
So, how would...
24,479
Posted By hpodhrad
This works, but I thought eval was a bad thing? ...
This works, but I thought eval was a bad thing? It opens the code up for an Injection attack, right?

Thank you very much for your help!!!!!
3,328
Posted By hpodhrad
So how do I find out what the encoding is?
So how do I find out what the encoding is?
24,479
Posted By hpodhrad
NOTE: cvs = Concurrent Versions System commit...
NOTE:
cvs = Concurrent Versions System
commit = commit to the cvs repository
-m = What follows in the quotes is the Log message for this revision
"This is" = the Log message for this revision...
24,479
Posted By hpodhrad
-x does not make a difference. I have done both...
-x does not make a difference. I have done both -x and +x and no'x' with the same results.

What I need to do is actually execute $STATEMENT
3,328
Posted By hpodhrad
I believe you are correct there. So, any...
I believe you are correct there. So, any suggestions on how I can parse that string?
24,479
Posted By hpodhrad
Bash shell adding extra single quotes
AIX 6.1
bash shell

#!/bin/bash -x
STATEMENT="cvs commit -m \"This is\" ../PBP/EIR.ENTRY"
echo $STATEMENT
exit 0

This is the output
+ STATEMENT='cvs commit -m "This is" ../PBP/EIR.ENTRY'
+...
3,328
Posted By hpodhrad
Do you mean ASCII vs UTF-8? I am not sure what...
Do you mean ASCII vs UTF-8? I am not sure what you mean by character set. I should have added I am working on AIX 6.1 using bash shell.
3,328
Posted By hpodhrad
while "read" UNIDATA control character
I have a UNIDATA file with this line

EIR.ENTRYýIND.RATE.CALCýBUILD.EIR.ITEMýIND.RATES.WEBSERVICEýIND.GRP.COMPLIANCEýIND.RATE.AUDIT

If I edit my unidata file with Notepad++ or something and...
Showing results 1 to 21 of 21

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