File: stty.pl

package info (click to toggle)
libio-stty-perl 0.04-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 148 kB
  • sloc: perl: 281; makefile: 5
file content (11 lines) | stat: -rwxr-xr-x 187 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl

require IO::Stty;

foreach $param (@ARGV) {
  push (@params,split(/\s/,$param));
}
$stty = IO::Stty::stty(\*STDIN,@params);
if ($stty ne '0 but true') {
  print $stty;
}