comparison doc/User-oriented-commands @ 135:49f259cdb39e

doc/User-oriented-commands: update for output redirection
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Feb 2021 00:31:31 +0000
parents 6ba14a9247d2
children 5494795406e0
comparison
equal deleted inserted replaced
134:13dea9b95afc 135:49f259cdb39e
217 This command dumps the full content of the selected phonebook on the terminal. 217 This command dumps the full content of the selected phonebook on the terminal.
218 The data format for representing SIM phonebook content in UNIX-based text files 218 The data format for representing SIM phonebook content in UNIX-based text files
219 and dumps is described in the SIM-data-formats document in the freecalypso-docs 219 and dumps is described in the SIM-data-formats document in the freecalypso-docs
220 repository. 220 repository.
221 221
222 pb-dump PBNAME outfile 222 pb-dump PBNAME > outfile
223 223
224 This form of the pb-dump command dumps the full content of the selected 224 This form of the pb-dump command dumps the full content of the selected
225 phonebook, but saves it in the named file instead of sending it to the terminal. 225 phonebook, but saves it in the named file instead of sending it to the terminal.
226 This form is ideal for making backups of large SIM phonebooks. 226 This form is ideal for making backups of large SIM phonebooks.
227 227
318 If you have had your SIM for a very long time, having used it in different 318 If you have had your SIM for a very long time, having used it in different
319 phones with different firmwares, it may be interesting to look at the output of 319 phones with different firmwares, it may be interesting to look at the output of
320 lnd-dump - you may have LND records that were generated ages ago by other 320 lnd-dump - you may have LND records that were generated ages ago by other
321 phones if your current one does not write into SIM LND. 321 phones if your current one does not write into SIM LND.
322 322
323 lnd-dump outfile 323 lnd-dump > outfile
324 324
325 This form of the lnd-dump command produces the same dump format, but saves it 325 This form of the lnd-dump command produces the same dump format, but saves it
326 in the named file instead of sending it to the terminal. 326 in the named file instead of sending it to the terminal.
327 327
328 lnd-restore filename 328 lnd-restore filename
458 The phone numbers in DA= and SC= parameters are emitted in the same format as 458 The phone numbers in DA= and SC= parameters are emitted in the same format as
459 in pb-dump, PID= and DCS= are emitted in hexadecimal with a 0x prefix, and VP= 459 in pb-dump, PID= and DCS= are emitted in hexadecimal with a 0x prefix, and VP=
460 is emitted in decimal. The alpha tag is always emitted at the end of the ASCII 460 is emitted in decimal. The alpha tag is always emitted at the end of the ASCII
461 line, just like in pb-dump. 461 line, just like in pb-dump.
462 462
463 smsp-dump outfile 463 smsp-dump > outfile
464 464
465 This form of the smsp-dump command produces the same dump of EF_SMSP, but saves 465 This form of the smsp-dump command produces the same dump of EF_SMSP, but saves
466 it in the named file instead of sending it to the terminal. 466 it in the named file instead of sending it to the terminal.
467 467
468 smsp-restore filename 468 smsp-restore filename