excuse me, i don't understand why you have to put bs=1 what do you need this for? btw are you writing to a raw device or to a formatted disk? bye brusberri
--- In [email protected], "Indika Bandara Udagedara" <[EMAIL PROTECTED]> wrote: > > hi say i want to write > 10 bytes with values 1, 2, 3, ... to a file just like with fwrite how > can i do with GNU tools > > tried this for 1, ..., 10, 11, > echo 1 | dd of=out bs=1 count=1 > > but when it gets to 10, 11, .. > only the first decimal place is written. > > is there any way that i can pass a 1 byte int value to dd or some > other tool? > > thnaks > To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be removed. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/LINUX_Newbies/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/LINUX_Newbies/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
