Guest User

Untitled

a guest
Jul 15th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. $ pkg info archiver/gnu-tar
  2. Name: archiver/gnu-tar
  3. Summary: GNU version of the tar archiving utility
  4. Description: Tar is a program for packaging a set of files as a single
  5. archive in tar format.
  6. Category: Development/GNU
  7. State: Installed
  8. Publisher: solaris
  9. Version: 1.26
  10. Build Release: 5.11
  11. Branch: 0.175.0.0.0.2.537
  12. Packaging Date: October 19, 2011 09:11:16 AM
  13. Size: 1.73 MB
  14. FMRI: pkg://solaris/archiver/gnu-tar@1.26,5.11-0.175.0.0.0.2.537:20111019T091116Z
  15.  
  16. % pkg contents -t set -o name,value archiver/gnu-tar
  17. NAME VALUE
  18. info.classification org.opensolaris.category.2008:Development/GNU
  19. info.source-url http://ftp.gnu.org/gnu/tar/tar-1.26.tar.bz2
  20. info.upstream-url http://www.gnu.org/software/tar/
  21. org.opensolaris.arc-caseid PSARC/2000/488
  22. org.opensolaris.consolidation userland
  23. pkg.description Tar is a program for packaging a set of files as a single archive in tar format.
  24. pkg.fmri pkg://solaris/archiver/gnu-tar@1.26,5.11-0.175.1.0.0.20.0:20120709T173816Z
  25. pkg.summary GNU version of the tar archiving utility
  26. variant.arch ['i386', 'sparc']
  27.  
  28. % pkg contents -H -t set -o value -a name=pkg.summary archiver/gnu-tar
  29. GNU version of the tar archiving utility
  30.  
  31. $ pkg info archiver/gnu-tar | nawk '
  32. /^ *[A-Za-z ]*:/ {
  33. gsub("^ *","",$1)
  34. if(NR>1) printf("n")
  35. name=substr($0,1,index($0,":")-1);
  36. value=substr($0,index($0,":")+1);
  37. gsub(" ","_",name);
  38. printf("%s=%s",name,value)
  39. next
  40. }
  41. {
  42. gsub("^ *","",$1)
  43. printf("%s",$0)
  44. } ' | sed -e 's/= /="/' -e 's/$/"/'
  45.  
  46. Name="archiver/gnu-tar"
  47. Summary="GNU version of the tar archiving utility"
  48. Description="Tar is a program for packaging a set of files as a singlearchive in tar format."
  49. Category="Development/GNU"
  50. State="Installed"
  51. Publisher="solaris"
  52. Version="1.26"
  53. Build_Release="5.11"
  54. Branch="0.175.0.0.0.2.537"
  55. Packaging_Date="October 19, 2011 09:11:16 AM"
  56. Size="1.73 MB"
  57. FMRI="pkg://solaris/archiver/gnu-tar@1.26,5.11-0.175.0.0.0.2.537:20111019T091116Z"
Add Comment
Please, Sign In to add comment