Tag Archives: scripting

ripping compact discs to audio files

Perhaps it is not necessary for another article about how to convert cd’s to a format that can be used on our mp3 or ogg music players.  I have used k3b program for extracting ogg files in the past. I … Continue reading

Posted in programming | Tagged , | Comments Off on ripping compact discs to audio files

command line fun – finding security problems with find

I cannot actually remember how it happened.  I wasn’t paying enough attention and was viewing one of my scripts on production.  When I was finished I did what I always do in vi – I exited the script using : … Continue reading

Posted in Command line | Tagged , , , | Comments Off on command line fun – finding security problems with find

windows batch processing

I really didn’t want to fool around with that little windows task that has been laying on my boss’s desk. It was planned that Robert would do it after the new year started but then he decided to quit. Now … Continue reading

Posted in programming | Tagged , | Comments Off on windows batch processing

command line fun – finding mistakes

I knew that I had mistyped but it was too late.  I tried to exit out of vi in a hurry and accidentally exited but saved the file under a new name.  This wouldn’t have been so bad if the … Continue reading

Posted in programming | Tagged , | Comments Off on command line fun – finding mistakes

command line fun – temporary data

Most of the scripts that I need to write don’t actually need to manipulate a lot of data.  It is usually enough to pipe that data through a command or two and use the result.  When this isn’t acceptable then … Continue reading

Posted in programming | Tagged , | Comments Off on command line fun – temporary data

bash – More powerful than a speeding locomotive

(flashback) Our project was inching closer and closer to going live.  On the evening before the Easter break some clod started a massive report which tried to process all the data since the beginning of time. My colleague’s inefficient program gathered … Continue reading

Posted in programming | Tagged , | Comments Off on bash – More powerful than a speeding locomotive

security in obscurity

It didn’t make all that much sense to me. Why did the team write their own bug tracking application when they could have either purchased one or used an open source solution.  I guess the team felt that only they … Continue reading

Posted in security | Tagged , | Comments Off on security in obscurity

command line fun – unlimited command line length

While looking into another problem, plethora of shells, I was initially afraid that some of my fooling around was causing some odd side effects.  While investigating I ended up with a different solution that was actually overkill but it help … Continue reading

Posted in Command line | Tagged , | Comments Off on command line fun – unlimited command line length

a plethora of shells – what is my shell interpreter

I kept seeing odd error messages from my shell script that simply made no sense.  No matter what changes I made a new error seemed to pop up.  A short while later I did notice at the top of the … Continue reading

Posted in Command line | Tagged , | Comments Off on a plethora of shells – what is my shell interpreter

Windows powershell scripting

Powershell scripting is not too difficult to pick up and there is a wealth of examples on the internet to help solve any syntax related question. Simply call the appropriate Powershell “cmdlet” to perform the required task.  The return value … Continue reading

Posted in programming | Tagged , | Comments Off on Windows powershell scripting