python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
TCL multi-character split in Python?
I am splitting a text file using this tcl proc:
proc mcsplit "str splitStr {mc {\x00}}" {
return [split [string map [list $splitStr $mc] $str] $mc] }
# mcsplit --
# Splits a string base...
Nour
Votes: 0
Answers: 1
Get-CimInstance CIM_Processor returns multiple "names"
I'm trying to get the cpu name for all of the machines on my domain. I'm running the following
Get-CimInstance -ComputerName $i.DNSHostName -Class CIM_Processor | Select-Object "PSComputerName&qu...
jawknee530
Votes: 0
Answers: 1
Grep IP Range Bash Script
I just got into Bash scripting and I'm having a hard time grepping a specific IP range from a file.
I've tried the following:
grep "213.184.111.[128][254]" example.txt
Is there an easier wa...
Thijs
Votes: 0
Answers: 2
How do I insert strings into an array of an array?
I am trying to insert strings into an array of an array but it's not working. Here is what I'm trying to do:
[string[]] $workArray::new(6,2)
$workArray[0,1] = "C:\Users\"
$workArray[0,2] = ...
CluelessDawg1337
Votes: 0
Answers: 1