Search Results

Search: Posts Made By: Kingbruce
Forum: Programming 03-18-2010
6,729
Posted By Kingbruce
thx a lot Franklin, this is exactly what i needed...
thx a lot Franklin, this is exactly what i needed :)
Forum: Programming 03-18-2010
6,729
Posted By Kingbruce
cat infile.txt | od -An -t dC | tr -d "\n" | sed...
cat infile.txt | od -An -t dC | tr -d "\n" | sed 's/ 10 / 10~ /g' | tr "~" "\n"will take an input file, and provide all the hexadecimal representations of each character, putting output out on...
Forum: Programming 03-18-2010
6,729
Posted By Kingbruce
ascii to hex
Hello guys,

i want to convert a text file to hex and have written this code :


int main(int argc, char **argv)
{
ifstream file;
string fileName = "CODEZ";

...
4,842
Posted By Kingbruce
Thank you for the solution in sed karthigayan, i...
Thank you for the solution in sed karthigayan, i will try out this method too :)
4,842
Posted By Kingbruce
Replace Strings with sed or awk
Hello i need some help with the usage of sed.

Situation : 2 textfiles, file.in , file.out
In the first textfile which is called file.in are the words for the substitution.
Every word is in a...
Showing results 1 to 5 of 5

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