POD documentation for remove_rectangles.pl


  1. Name
  2. Synopsis
  3. Description
  4. Options
  5. Arguments
  6. Script Layout
  7. See Also
  8. Known Bugs
  9. Author
  10. Copyright and License
  11. Source Code


remove_rectangles.pl - Removes all rectangles from a .svg file.


remove_rectangles.pl [-vb|--verbose] [-o|--out output] filename
remove_rectangles.pl filename
remove_rectangles.pl filename filename2 filename3
remove_rectangles.pl --help produces this message
remove_rectangles.pl --help -v produces a longer help message


This program is designed to remove all rectangles - all of the 'rect' elements from an SVG file. If no filename, or filenames are given it will take the most recently modified SVG file and use that one.



This program currently expects no arguments for execution as it is intended to be run in the background on the most recent file, but the program can take any number of arguments (SVG filenames) for command-line execution.

Script Layout

This program currently has a couple parts:

See Also

http://www.perl.org, http://www.gnu.org, perlre, Mastering Regular Expressions 3rd Edition, SVG Essentials, http://www.w3.org/TR/SVG/

Known Bugs

This has no known bugs.


Miles McCammon, <miles86@ucla.edu> remove_rectangles.plx - Removes all rectangles from a .svg file. Copyright © 2008 SIMS Lab, University of California Los Angeles; University of California Regents This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. To receive a copy of the GNU General Public License, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Source Code

Source code for this version (11/6/08, 18:21) can be downloaded here.
N 34° 4' 9" W 118° 26' 27"