Help for this page

Select Code to Download


  1. or download this
    while(<>) {
        s#^([^/]+).*#$1#;
        print;
    }
    
  2. or download this
    while(<>) {
        print((split '/')[0], "\n");
    }