Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

book.sh 1.2 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  1. #!/usr/bin/env bash
  2. # Test pstext paragraph mode
  3. ps=book.ps
  4. gmt pstext -R0/6/0/9 -Jx1i -P -B0 -F+f+jCM -K << EOF > $ps
  5. 3 8 46p A Tale of Two Cities
  6. 3 7 32p Dickens, Charles
  7. 3 6.4 24p 1812-1973
  8. EOF
  9. # First Paragraph
  10. gmt pstext -R -J -F+f16p,Times-Roman,red+jTC -O -M << EOF >> $ps
  11. > 3 5 18p 5i j
  12. @_It was the best of times, it was the worst of times@_,
  13. it was the age of wisdom, it was the age of foolishness,
  14. it was the epoch of belief, it was the epoch of incredulity,
  15. it was the season of Light, it was the season of Darkness,
  16. it was the spring of hope, it was the winter of despair,
  17. we had everything before us, we had nothing before us,
  18. we were all going direct to Heaven, we were all going direct
  19. the other way--in short, the period was so far like the present
  20. period, that some of its noisiest authorities insisted on its
  21. being received, for good or for evil, in the superlative degree
  22. of comparison only.
  23. There were a king with a large jaw and a queen with a plain face,
  24. on the throne of England; there were a king with a large jaw and
  25. a queen with a fair face, on the throne of France. In both
  26. countries it was clearer than crystal to the lords of the State
  27. preserves of loaves and fishes, that things in general were
  28. settled for ever.
  29. EOF
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...