Tag Info

New answers tagged

1

Try this: grep "<TD>" yourfile.xml | awk -F "TD" '{gsub(">|</","",$0); print $2;}' the output will be: 51.9029244701 47.0082067303 grep select xml TD tag, awk use TD as separator and remove > and </ from $2 field. In order to select all node, try xslt transformation: <xsl:stylesheet version="1.0" ...


1

I wrote up a very simple Python script that will read in an xml file, and output its contents into another file: import sys inFile = open(sys.argv[1], 'r') outFile = open(sys.argv[2], 'w') read = True for i in inFile.read(): if i == '<': read = not read if read: outFile.write(i) if i == '>': read = not read ...


2

It should be mkfs.vfat -I /dev/sdb. sdb1 indicates you probably have more than one partition, and you're just formatting the first one, which happens to be 64MiB.



Top 50 recent answers are included