Skip to main content

All Questions

Tagged with
0 votes
1 answer
156 views

Transpose vertically with a catch

I've been working through some issues preparing data for logstash ingestion. I have a decent chunk of the process worked out but I'm wondering if there's a better way to do this. Basically I need to ...
Steve Zemlicka's user avatar
0 votes
1 answer
60 views

Can I simplify and negate this? ^(//|//\s+|\s+//|\s+//\s+)

Basically I want to match commented lines like: // foobar (this is a commented line) but I want to make sure I catch this line even if there is white space either side of the comment signature '//' ...
conanDrum's user avatar
  • 103
0 votes
1 answer
172 views

How to script remote monitoring and management

Looking at this video on scripting: https://www.youtube.com/watch?v=LcERIxWDQXA how or where is this executed? What I'm not understanding is how to use the SWIS (SolarWinds Information Service) ...
Thufir's user avatar
  • 1,650
0 votes
1 answer
371 views

Script to Reboot Virgin SuperHub

I'm currently trying to write a script that will reboot my Virgin SuperHub when set up as a cron job. However, it keeps failing with the following error: "There is no form with ID "...
Monstar316's user avatar
1 vote
2 answers
489 views

bash + PERL hybrid script

I am new to this community, I tried to find relevant answers but could not find any. My question is, I want to use perl script in a directory of files ending with .fasta, if I do in bash as for i in ...
Hammad Mubeen's user avatar
2 votes
1 answer
156 views

Run Perl script from CD?

I've created a Perl script and burned it to a CD-ROM disc. I would like to be able to run the script from the CD without having to copy it to some directory on the hard drive. For some reason when ...
dutsnekcirf's user avatar
0 votes
1 answer
979 views

Run and edit a Perl/Python/non-Powershell - Script in Powershell_ISE (Windows Server)

I am on a Windows Server (2012) with Powershell_ISE and befor installing additional software I wanted to edit and test a script in the Powershell_ISE (it's a better native solution than using notepad +...
MacMartin's user avatar
  • 1,043
0 votes
1 answer
67 views

How do I make a word frequncy counter case sensitive using command line interface in Perl?

So I have this Perl Script which is a word frequency counter. But now I have to modify this script and make it case sensitive. So if a user adds -i on the command line, the script should compare in a ...
Anuj Chokshi's user avatar
0 votes
1 answer
333 views

How can I run this Perl script in Windows?

I am trying to run a PERL script for the first time. Here it is : http://search.cpan.org/dist/HTML-ExtractMain/lib/HTML/ExtractMain.pm I have never used or worked with PERL before and I am finding ...
Simon Kiely's user avatar
-1 votes
1 answer
2k views

Get value on perl script from another perl script [closed]

I have two perl scripts. The first perl script call another perl script, and then I want to get the result from the other script and use it in the first script to made a condition. I use: system("...
proquibas's user avatar
2 votes
1 answer
326 views

Clean up filenames using data from a text file

I need to clean up a bunch of folder file names. Possibly even the file titles as well. I was currently using this Perl script to do so but I ran into some problems. If the file name already has ...
Cole Mackenzie's user avatar
1 vote
1 answer
2k views

The outputs of ps and top do not match

I have a situation where I have a process, say script.pl (here it is), which seems to stick around in the output to ps auxw | grep script.pl, sometimes when load is heavy it sticks around for several ...
kmarks2's user avatar
  • 131
2 votes
2 answers
3k views

Script to prefix filename with folder

I am trying to find a script that will work in Windows and prefix all files in a folder with the containing folder name. For example, in the folder C:\FolderName1 there are 3 files: hello.jpg test....
Sam's user avatar
  • 21
1 vote
2 answers
44 views

Find script with early cutting branches on first occurences

It must exists, my problem is how to express my need. When I search for a given filename, Iwant the search stop searching the current branch when it finds a first occurence, BUT continue to search in ...
Jérôme's user avatar
  • 173
85 votes
11 answers
99k views

When to use Bash and when to use Perl/Python/Ruby? [closed]

We are doing all our scripting with Bash so far, but I'm starting to feel a bit silly about it. While we can of course do everything we want with Bash (it's quite powerful), I'm starting to wonder if ...
futlib's user avatar
  • 1,279

15 30 50 per page