Open/modify .odt in nano with indentation

unzip document.odt content.xml && xmlindent -w content.xml && nano content.xml
OpenDocument documents from OpenOffice.org,LibreOffice and other applications, are actually ZIP archives. Useful informations in these archives are in XML format. Here we like it or do not. Anyway, the XML files have the unfortunate tendency to not be indented, and for good reason: they consist of only one line! To solve the problem and to use a proper editor on the content, I proceed as follows. Required xmlindent You can also use : zip document.odt content.xml And it works with vi instead of nano !

What Others Think

It is my first visit to your blog, and I am very impressed with the articles that you serve. Give adequate knowledge for me. Thank you for sharing useful material. I will be back for the more great post Exotic420thcvapes is a legitimate medical and recreational dispensary that offers a wide variety of premium Vape Juices, vape cartridges, Cannabis, Edibles, Weed, Concentrates, and more online at a cheap price guarantee. Order today and get a same-day delivery tracking number provided. Exotic420thcvapes dispensary ship to all 50 states in the USA. dispensaries that sell pounds exotic420thcvapes.com dispensaries that ship to va west coast cure carts joi pods big chief carts glo box lucid blue strain big chief carts best stiiizy pod for anxiety moon rocks for sale California raw garden carts price papaya punch strain joi pods Lions breath carts lucid blue strain big chief carts glo carts glo box glo carts Lions breath carts glo extracts dispensaries that ship to va ascnd charger lucid blue strain joi pods glo box big chief carts glo carts Lions breath carts dispensaries that ship to Tennessee dispensaries that ship to Tennessee best stiiizy pod for anxiety big chief carts chief carts glo box big chief pods big chief cartridges raw garden carts price atf cartridge rove pen charger joi pods 710 cartridge kurvana battery joi pods moon rocks for sale California raw garden carts price glo box glo extracts dispensaries that sell pounds dispensaries that ship to va cresco carts glo carts big chief carts dispensaries that ship to Tennessee dispensaries that ship to Tennessee joi pods best stiiizy pod for anxiety moon rocks for sale California raw garden carts price dispensaries that ship to va dime disposable chief carts papaya punch strain dispensaries that sell pounds are big chief carts good cresco carts dispensaries that ship to va Buy Cresco cartridge glo box Cresco cartridge joi pods cresco carts dispensaries that ship to va Lions breath carts glo carts papaya punch strain dispensaries that ship to va best stiiizy pod for anxiety moon rocks for sale California raw garden carts price big chief carts chief carts big chief pods big chief cartridges raw garden carts price atf cartridge rove pen charger joi pods 710 cartridge glo box kurvana battery joi pods california dispensary that ship out of state lucid blue strain cresco carts heavy hitters 2.2 g cartridge for sale heavy hitters 1g cartridge price joi pods dispensaries that ship to va glo extracts dispensaries that sell pounds glo carts dispensaries that ship to Tennessee legit online dispensaries ship all 50 states papaya punch strain cresco carts Buy Cresco cartridge Cresco cartridge joi pods chief carts west coast cure pods glo box dime disposable rove battery charger dispensaries that ship to va ascnd charger spliffin oil dispensaries that ship to Tennessee glo extracts joi pods cresco carts papaya punch strain lucid blue strain cresco carts dispensaries that ship to Tennessee dispensaries that ship to Tennessee Buy Cresco cartridge Cresco cartridge glo box dispensaries that ship to va glo carts joi pods chief carts dispensaries that ship to va dispensaries that ship to Tennessee dime disposable california dispensary that ship out of state big chief carts death best stiiizy pod glo extracts cresco carts Buy Cresco cartridge Cresco cartridge chief carts dispensaries that ship to va west coast cure pods cresco carts joi pods glo carts unicorn milk strain legit online dispensaries ship all 50 states dispensaries that ship to va california dispensary that ship out of state Lions breath carts Gummy Bear strain dispensaries that ship to Tennessee dispensaries that ship to Tennessee Lions breath carts big chief carts glo box chief carts big chief pods big chief cartridges raw garden carts price atf cartridge rove pen charger joi pods 710 cartridge kurvana battery dime disposable lucid blue strain cresco carts chief carts are big chief carts good glo box Lions breath carts papaya punch strain tko cartridges tko carts . tko carts real are Tko cartridges safe cresco carts Buy Cresco cartridge Cresco cartridge spliffin oil dispensaries that ship to Tennessee moon rocks for sale California big chief carts glo carts california dispensary that ship out of state joi pods raw garden carts glo box cresco carts are big chief carts good dispensaries that ship to Tennessee dispensaries that ship to Tennessee big chief carts dime disposable west coast cure pods papaya punch strain spliffin oil rove battery charger unicorn milk strain big chief carts death cresco carts Buy Cresco cartridge Cresco cartridge Lions breath carts rove battery charger chief carts glo extracts legit online dispensaries ship all 50 states brass knuckles gelato cartridge price Lions breath carts dispensaries that ship to Tennessee joi pods california dispensary that ship out of state dispensaries that ship to va best stiiizy pod cresco carts Buy Cresco cartridge glo box Cresco cartridge west coast cure carts big chief carts death glo carts Lions breath carts west coast cure pods ascnd charger dispensaries that ship to va dime disposable dime battery big chief carts legit online dispensaries ship all 50 states where to get big chief carts chief carts west coast cure carts west coast cure big chief carts death cresco carts Buy Cresco cartridge Cresco cartridge west coast cure pods best stiiizy pod big chief carts chief carts big chief pods big chief cartridges raw garden carts price glo box atf cartridge rove pen charger joi pods 710 cartridge kurvana battery dispensaries that ship to Tennessee dime disposable cure pen carts raw garden carts fake fake raw garden carts california dispensary that ship out of state rove battery charger unicorn milk strain glo extracts glo carts https://exotic420thcvapes.com/ buy big chief extracts legit online dispensaries ship all 50 states big chief carts Lions breath carts west coast cure pods chief carts dispensary that ship big chief carts joi pods dime disposable dispensaries that ship to ga glo extracts big chief carts death Gummy Bear strain unicorn milk strain glo carts dispensaries that ship to Tennessee lucid blue strain https://exotic420thcvapes.com/ raw garden carts fake fake raw garden carts https://exotic420thcvapes.com/ legit online dispensaries ship all 50 states tko cartridges tko carts . tko carts real are Tko cartridges safe joi pods brass knuckles gelato cartridge price california dispensary that ship out of state west coast cure pods big chief carts chief carts big chief pods big chief cartridges raw garden carts price atf cartridge rove pen charger joi pods 710 cartridge kurvana battery chief carts exotic420thcvapes.com dispensaries that ship to va raw garden carts glo box legit online dispensaries ship all 50 states Lions breath carts Lions breath carts sour-patch-kids-strain sour patch strain dime disposable big chief carts death lucid blue strain dime battery SPK strains dispensaries that ship to Tennessee unicorn milk strain ascnd charger california dispensary that ship out of state lucid blue strain Lions breath carts west coast cure pods where to buy sour patch kids strain Gummy Bear strain big chief carts chief carts big chief pods big chief cartridges raw garden carts price atf cartridge rove pen charger joi pods 710 cartridge kurvana battery chief carts rove battery charger glo box exotic420thcvapes.com Buy sour patch kids strain tko cartridges tko carts . tko carts real are Tko cartridges safe Lions breath carts legit online dispensaries ship all 50 states lucid blue strain dispensary that ships sour patch kids strain exotic420thcvapes.com dispensaries that ship to va dispensary that ship to Alabama legit online dispensaries ship all 50 states dispensaries that ship to Tennessee california dispensary that ship out of state west coast cure unicorn milk strain big chief carts death tko cartridges tko carts . tko carts real joi pods are Tko cartridges safe ascnd charger Gummy Bear strain chief carts dime disposable lucid blue strain dime battery prince william og unicorn milk strain legit online dispensaries ship all 50 states are big chief carts good papaya punch strain spliffin oil lucid blue strain dime disposable unicorn milk strain big chief extracts big chief carts chief carts big chief pods big chief cartridges raw garden carts price atf cartridge rove pen charger joi pods 710 cartridge kurvana battery west coast cure pods california dispensary that ship out of state dispensaries that ship to ga Click the link if interested to buy big chief carts tko cartridges tko carts . tko carts real are Tko cartridges safe where to get big chief carts Lions breath carts lucid blue strain rove battery charger unicorn milk strain legit online dispensaries ship all 50 states legit online dispensaries ship all 50 states buy big chief extracts dispensaries that ship to Tennessee legit online dispensaries ship all 50 states papaya punch strain spliffin oil moon rocks for sale California lucid blue strain dime disposable unicorn milk strain chief carts ascnd charger west coast cure pods big chief carts chief carts big chief pods big chief cartridges raw garden carts price atf cartridge rove pen charger joi pods 710 cartridge kurvana battery dispensary that ship big chief carts big chief carts death exotic420thcvapes.com raw garden carts are big chief carts good Click the link if interested to buybest stiiizy pod brass knuckles gelato cartridge price dispensaries that ship to va west coast cure carts Gummy Bear strain lucid blue strain ascnd charger atomik moon rocks dime battery cure pen carts raw garden carts chief carts unicorn milk strain Lions breath carts west coast cure pods papaya punch strain dime disposable spliffin oil legit online dispensaries ship all 50 states are big chief carts good moon rocks for sale California west coast carts big chief carts death dispensaries that ship to ga dispensary that ship to Alabama lucid blue strain legit online dispensaries ship all 50 states exotic420thcvapes.com glo carts Gummy Bear strain rove battery charger glo carts rove battery charger west coast cure pods papaya punch strain dispensaries that ship to Tennessee spliffin oil lucid blue strain moon rocks for sale California big chief carts death dime disposable lucid blue strain big chief carts chief carts big chief pods big chief cartridges raw garden carts price atf cartridge rove pen charger joi pods 710 cartridge
ruhljohn · 15 weeks and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: