File: generate_deprecated.sh

package info (click to toggle)
scikit-learn 1.2.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 23,280 kB
  • sloc: python: 184,491; cpp: 5,783; ansic: 854; makefile: 307; sh: 45; javascript: 1
file content (8 lines) | stat: -rwxr-xr-x 155 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
#!/bin/bash
for f in [^d]*; do (head -n2 < $f; echo '
.. meta::
   :robots: noindex

.. warning::
   **DEPRECATED**
'; tail -n+3 $f) > deprecated_$f; done