| | |
Hex conversion problem
Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
![]() |
In reference to this comment: Have you tried xargs? With maybe a loop that terminates at end of line/file? Just giving you another option.
I personally agree with Gromit about using PERL or some other language to do this as it is fairly complicated. Using BASH for quick and dirty or for prototyping is great, but you may start running into some limitations. I have tried to solve many an issue using shell scripting of various flavors, but sometimes it just can't do what you need to get done. =8)
Hope I don't get flamed for that. Just my personal opinion.
•
•
•
•
P.S I was able to get this to work from the command line but with only one value as the input.
I personally agree with Gromit about using PERL or some other language to do this as it is fairly complicated. Using BASH for quick and dirty or for prototyping is great, but you may start running into some limitations. I have tried to solve many an issue using shell scripting of various flavors, but sometimes it just can't do what you need to get done. =8)
Hope I don't get flamed for that. Just my personal opinion.
![]() |
Similar Threads
- Contactless Card Reader problem (VB.NET)
- can't find the problem after checking my similar programs (C++)
- number system conversion (C++)
- One's Compliment Dec to Hex Conversion (Assembly)
- Help with program to convert hex to dec (Assembly)
- FILE + conversion from dec to hex = I need help (C)
- Lite-On CD Burner problem (Storage)
Other Threads in the Shell Scripting Forum
- Previous Thread: hi, shell /awk for getting echo the linenumber from log file
- Next Thread: Dynamically-created shell commands
| Thread Tools | Search this Thread |





