Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #30181

Re: I hate shell

From Jack Strangio <jackstrangio@yahoo.com>
Newsgroups comp.os.linux.misc
Subject Re: I hate shell
Date 2020-06-22 21:50 +0000
Organization North Star Horizon Builders Club
Message-ID <qCCKo9.12oEI@yahoo.com> (permalink)
References <rcqkss$f17$1@dont-email.me>

Show all headers | View raw


The Natural Philosopher <tnp@invalid.invalid> writes:
> On 22/06/2020 15:01, Jack Strangio wrote:
> > 
> > Are you using the correct manual?
> > 
> What manual?
> 

Here's a few articles (There are *hundreds* more on the Web):

Bash Guide for Beginners
http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html

Advanced Bash-Scripting Guide
http://tldp.org/LDP/abs/html/

Bash Scripting: Learn to use REGEX (Basics)
https://linuxtechlab.com/bash-scripting-learn-use-regex-basics/

> 
> I wrote a small bit in C - its strips the extension from a file path if 
> it has one.
> I couldn't believe that there wasn't a unix utility to do this..
> 

As others have said already 'dirname' and 'basename' will do that for you


As always, Google/DuckDuckGo is there at your side, ever willing to help


Jack
-- 
"It's rather cold." she said bitchily.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

I hate shell The Natural Philosopher <tnp@invalid.invalid> - 2020-06-22 09:42 +0100
  Re: I hate shell Jack Strangio  <jackstrangio@yahoo.com> - 2020-06-22 14:01 +0000
    Re: I hate shell The Natural Philosopher <tnp@invalid.invalid> - 2020-06-22 17:05 +0100
      Re: I hate shell Grant Taylor <gtaylor@tnetconsulting.net> - 2020-06-22 10:23 -0600
        Re: I hate shell The Natural Philosopher <tnp@invalid.invalid> - 2020-06-22 18:48 +0100
      Re: I hate shell Robert Heller <heller@deepsoft.com> - 2020-06-22 11:32 -0500
      Re: I hate shell Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2020-06-22 12:41 -0400
        Re: I hate shell The Natural Philosopher <tnp@invalid.invalid> - 2020-06-22 18:49 +0100
      Re: I hate shell Jack Strangio  <jackstrangio@yahoo.com> - 2020-06-22 21:50 +0000
        Re: I hate shell The Natural Philosopher <tnp@invalid.invalid> - 2020-06-23 05:04 +0100
          Re: I hate shell Aragorn <thorongil@telenet.be> - 2020-06-23 10:15 +0200
            Re: I hate shell The Natural Philosopher <tnp@invalid.invalid> - 2020-06-23 09:38 +0100
              Re: I hate shell Aragorn <thorongil@telenet.be> - 2020-06-23 13:31 +0200
                Re: I hate shell The Natural Philosopher <tnp@invalid.invalid> - 2020-06-23 14:09 +0100
                Re: I hate shell Aragorn <thorongil@telenet.be> - 2020-06-23 15:58 +0200
                Re: I hate shell Harold Stevens <wookie@fossa.localdomain> - 2020-06-23 09:16 -0500
            Re: I hate shell Joe Beanfish <joebeanfish@nospam.duh> - 2020-06-23 14:17 +0000
              Re: I hate shell Aragorn <thorongil@telenet.be> - 2020-06-23 16:58 +0200
                Re: I hate shell Rich <rich@example.invalid> - 2020-06-23 16:47 +0000
                Re: I hate shell The Natural Philosopher <tnp@invalid.invalid> - 2020-06-23 19:13 +0100
                Re: I hate shell Joe Beanfish <joebeanfish@nospam.duh> - 2020-06-24 20:54 +0000
                Re: I hate shell gazelle@shell.xmission.com (Kenny McCormack) - 2020-06-24 23:24 +0000
      Re: I hate shell Jack Strangio  <jackstrangio@yahoo.com> - 2020-06-22 23:11 +0000
        Re: I hate shell Rich <rich@example.invalid> - 2020-06-23 01:33 +0000
          Re: I hate shell The Natural Philosopher <tnp@invalid.invalid> - 2020-06-23 05:07 +0100
          Re: I hate shell Jack Strangio  <jackstrangio@yahoo.com> - 2020-06-24 03:59 +0000
        Re: I hate shell The Natural Philosopher <tnp@invalid.invalid> - 2020-06-23 05:05 +0100
      Re: I hate shell Eli the Bearded <*@eli.users.panix.com> - 2020-06-23 18:41 +0000
    Re: I hate shell "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> - 2020-06-23 11:12 +0200
  Re: I hate shell Rathbone <please@replytolist.com> - 2020-06-22 20:22 +0000
    Re: I hate shell Aragorn <thorongil@telenet.be> - 2020-06-23 10:20 +0200
      Re: I hate shell The Natural Philosopher <tnp@invalid.invalid> - 2020-06-23 09:41 +0100
        Re: I hate shell Aragorn <thorongil@telenet.be> - 2020-06-23 13:32 +0200

csiph-web