File: generate_deprecated.sh

package info (click to toggle)
scikit-learn 1.4.2%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 25,036 kB
  • sloc: python: 201,105; cpp: 5,790; ansic: 854; makefile: 304; sh: 56; javascript: 20
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