Search results

  1. M

    How to learn shell scripting in python?

    i know that this is an old thread but i'll post this reply for the sake of future visitors. im familiar with both bash and python but i have actually spent more time using bash. i didn't use python for scripting, but i've used bash both for scripting and writing cli programs, so i don't have...
  2. M

    head and tail trick

    i think i'll start a new thread that's simply about weekly challenges to see what the language the members would like to see the most, who might be interested in coming up with challenges and discuss the topic in more detail for example. how about that?
  3. M

    head and tail trick

    the hyphens basically tell the command to get its input from the output of the previous command. i don't know. i didn't learn what i know about them all from one place. i accumulated it over time. and, this actually depends on whether the program you're using supports it or not. not all...
  4. M

    head and tail trick

    except for the fact that i'm not any smarter than you are lol. however, for starters, i do think that there should be a thread to discuss how we might go about organizing the bash challenges. i bet that there are probably a few members that can at least provide us with helpful suggestions
  5. M

    head and tail trick

    thanks. i absolutely agree with you. i would be one of the first people to participate because i love bash so much. damn i can't believe i forgot to make sure that it wasn't there... i wonder what the organizers' opinion is since both of our solutions rely on a newline either being or not...
  6. M

    head and tail trick

    hello gentlemen, may i propose this solution :3 ? i registered just to post this. i hope the post formatting is correct. tail -c 3 passwd | head -qc 57 passwd - | tail -c 5 | head -qc 4 passwd -
Top