Category "scripting"

What is the difference between p and P in sed?

Can anyone explain what is the difference between p and P in Sed? Suppose I want to print lines containing gmail in the below file using both p and P give the

Windows Batch File - Net Use encounter "System Error 64"

Been encountering this error "System error 64 - the specified network name is no longer available" in one of my windows batch script while trying to NET USE \se

Script to automatically log in to webpage and click button

I have a time clock system that employees login to via browser and punch for time but I find that the process takes our less tech savvy employees 4-5 minutes. I

How to fix “No newline at end of file” warning for lots of files?

I have a huge number of source files that are all lacking a newline at the end. How do I automatically add a newline to the end of each of them? Some may alre

How to fix “No newline at end of file” warning for lots of files?

I have a huge number of source files that are all lacking a newline at the end. How do I automatically add a newline to the end of each of them? Some may alre

Find multiple files and rename them in Linux

I am having files like a_dbg.txt, b_dbg.txt ... in a Suse 10 system. I want to write a bash shell script which should rename these files by removing "_dbg" from

did i make a command through a dialog in mirc?

i've created a dialog that allows to kick an user. this dialog has a textbox where the user must write the name of the one to kick and then press the OK button