dmenu for lunch applications in dwm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
1.4 KiB

13 years ago
13 years ago
13 years ago
13 years ago
  1. .TH STEST 1 dmenu\-VERSION
  2. .SH NAME
  3. stest \- filter a list of files by properties
  4. .SH SYNOPSIS
  5. .B stest
  6. .RB [ -abcdefghlpqrsuwx ]
  7. .RB [ -n
  8. .IR file ]
  9. .RB [ -o
  10. .IR file ]
  11. .RI [ file ...]
  12. .SH DESCRIPTION
  13. .B stest
  14. takes a list of files and filters by the files' properties, analogous to
  15. .IR test (1).
  16. Files which pass all tests are printed to stdout.
  17. .SH OPTIONS
  18. .TP
  19. .B \-a
  20. Test hidden files.
  21. .TP
  22. .B \-b
  23. Test that files are block specials.
  24. .TP
  25. .B \-c
  26. Test that files are character specials.
  27. .TP
  28. .B \-d
  29. Test that files are directories.
  30. .TP
  31. .B \-e
  32. Test that files exist.
  33. .TP
  34. .B \-f
  35. Test that files are regular files.
  36. .TP
  37. .B \-g
  38. Test that files have their set-group-ID flag set.
  39. .TP
  40. .B \-h
  41. Test that files are symbolic links.
  42. .TP
  43. .B \-l
  44. Test the contents of a directory given as an argument.
  45. .TP
  46. .BI \-n " file"
  47. Test that files are newer than
  48. .IR file .
  49. .TP
  50. .BI \-o " file"
  51. Test that files are older than
  52. .IR file .
  53. .TP
  54. .B \-p
  55. Test that files are named pipes.
  56. .TP
  57. .B \-q
  58. No files are printed, only the exit status is returned.
  59. .TP
  60. .B \-r
  61. Test that files are readable.
  62. .TP
  63. .B \-s
  64. Test that files are not empty.
  65. .TP
  66. .B \-u
  67. Test that files have their set-user-ID flag set.
  68. .TP
  69. .B \-w
  70. Test that files are writable.
  71. .TP
  72. .B \-x
  73. Test that files are executable.
  74. .SH EXIT STATUS
  75. .TP
  76. .B 0
  77. At least one file passed all tests.
  78. .TP
  79. .B 1
  80. No files passed all tests.
  81. .TP
  82. .B 2
  83. An error occurred.
  84. .SH SEE ALSO
  85. .IR dmenu (1),
  86. .IR test (1)