Jump to content

Recommended Posts

Posted

OK... the wonderful PyKota box is running pretty smoothly now and I'm looking ahead to charging the departments. To do this, I thought that I would use pkinvoice to generate invoices for each staff user.

 

The staff users can be distinguished by the first character of the username being a letter rather than a number.

 

My idea was to export the users to a file which I could then read a line at a time and run the pkinvoice command for the username on each line. My problem is that I'm unsure how to read files in a bash script :oops:

Posted
@Geoff: That is where I have been looking... I cannot seem to figure out a way of reading one line at a time though.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...