It is currently Sun Aug 23, 2026 9:04 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Relocating scripts
PostPosted: Fri Sep 09, 2016 5:24 am  (#21) 
Offline
GimpChat Member

Joined: Jul 17, 2016
Posts: 293
Location: Arlington, TX
ofnuts wrote:
Sasquatch wrote:
I'm slowly coming to understand how to do some fun things behind the scenes in Linux.


Nothing is behind the scenes in Linux :) Everything is in plain view.

Awk may not be needed since there is a 'printf' command in Bash.

I say "behind the scenes" because most folks consider the GUI to be the primary focus of a computer. I forget this forum isn't "most folks".

I tried doing it without printf but I couldn't get awk's FIELDWIDTHS option to work. I don't know if printf can be set to recognize the field separators produced by grep ir if I can change grep's default field separator. I'll look into it some more.

_________________
Just a short while ago I was a complete idiot when it comes to GIMP. Today, after many hours of practice, reading, and watching tutorials, I am proud to say I am an incomplete idiot.

Image


Top
 Post subject: Re: Relocating scripts
PostPosted: Fri Sep 09, 2016 3:13 pm  (#22) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Sasquatch wrote:
ofnuts wrote:
Sasquatch wrote:
I'm slowly coming to understand how to do some fun things behind the scenes in Linux.


Nothing is behind the scenes in Linux :) Everything is in plain view.

Awk may not be needed since there is a 'printf' command in Bash.

I say "behind the scenes" because most folks consider the GUI to be the primary focus of a computer. I forget this forum isn't "most folks".

I tried doing it without printf but I couldn't get awk's FIELDWIDTHS option to work. I don't know if printf can be set to recognize the field separators produced by grep ir if I can change grep's default field separator. I'll look into it some more.

I didn't say to do it without printf in awk but to skip awk and use the printf command from bash (in other words, the power of printf-formatting is available outside of awk in modern Linux).

_________________
Image


Top
 Post subject: Re: Relocating scripts
PostPosted: Sat Sep 10, 2016 11:04 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Mar 13, 2016
Posts: 83
The Collection Manager is a great way to organize your files for easy retrieval later when you need them. It helps to keep track of the resources available, like a file cabinet. No more staring at the brush box :sleepkbdfor me! :mrgreen:

@ofnuts

Thank you for sharing this python script and your talents.

Larry

_________________
Image


Top
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group