I'm sure there is a way to do this with a *nix command but I'm at a complete loss...
I have a group of data...like the following
domain.com/subdir/yadayada.php?sqiggly,;lkjsdf;lkajsdf
domain.com/subdir/stuff.php
domain.com/lalbasdf.php12341234
etc
is there a way to chop off the trailing items just leaving
the
domain.com/subdirs
and
domain.com
?
thanks in advance...
I have a group of data...like the following
domain.com/subdir/yadayada.php?sqiggly,;lkjsdf;lkajsdf
domain.com/subdir/stuff.php
domain.com/lalbasdf.php12341234
etc
is there a way to chop off the trailing items just leaving
the
domain.com/subdirs
and
domain.com
?
thanks in advance...


Comment