Skip to main content
3 votes
4 answers
183 views

I was making a script for a challenge I saw a while ago, which asks: "extract the 2nd ASCII character from every line in input if the line characters are less than 7, 2nd and 7th if more", ...
the_fearless_knight's user avatar
0 votes
2 answers
163 views

file1, which contains a single string per line. I want to check if each string exists in the second column of file2. file2 contains two single space-separated strings per line, but some lines may have ...
Chuepapiii's user avatar
3 votes
2 answers
100 views

I have the following two dataframes: data <- data.frame( yyyymm = c(202401, 202401,202401,202401,202402,202402,202402,202402), id = c(1,2,3,4,1,2,3,4), value = c(1,200,400,99999,2,400,200,180)...
datgoaltho's user avatar
1 vote
2 answers
75 views

Looking for a way to remove characters after the matching string Example data: srcip=10.1.100.11 srcport=58012 srcintf="port12" srcintfrole="undefined" dstip=23.59.154.35 dstport=...
user avatar
1 vote
1 answer
69 views

I encountered this problem and struggled to figure out a solution. I'll try my best to describe it. The problem I'm trying to solve is, given a number (you can interpret it as the number of links or ...
hiPeilin's user avatar
-2 votes
1 answer
81 views

I'm using Macos with this version of Bash: GNU bash, version 3.2.57(1)-release (arm64-apple-darwin22) I'm grepping a log file and piping the results to cut, where i'm trying to remove the first 64 ...
Max Williams's user avatar
0 votes
3 answers
122 views

I'm brand new with a whole day of VBA coding under my belt. I've searched a host of examples cutting and pasting data from one sheet to another without success. Herein lies my problem: Sheet1 is "...
Ingrid Potter's user avatar
1 vote
0 answers
28 views

I am able to create an animation sequence and export 8 frames for walking as a sprite sheet. I want to export the player model without a weapon (which I have done) I want to export the weapons ...
user2302941's user avatar
6 votes
4 answers
183 views

I need to change the order of a string in AIX, but with the command cut I can't do it Ex: echo FT0215202301.xml | cut -b 7-10,5-6,3-4 Result: 02152023 Expected: 20230215
Matias Araya's user avatar
0 votes
1 answer
357 views

I am trying to cut out several holes in a rectangle. When I do this in Klayout using "Subtract others from first", the result is computed almost instantly. However, when I try to do it using ...
Shrinivas Ganti's user avatar
1 vote
1 answer
110 views

I would like to use the cut command to extract some columns of a csv file. However, instead of having my criterion hard-coded, I would like to take them from a bash variable. Without a variable, my ...
Pat. ANDRIA's user avatar
  • 2,438
-2 votes
4 answers
102 views

I'm trying to get the first part of Column $1 with the entire Column $2,$3 and $5 but unfortunately I'm getting a different output Input: 2023-08-01 05:30:01,Lakers,CA,LA,US 2023-10-05 16:40:23,Denver ...
Driven's user avatar
  • 159
-2 votes
1 answer
250 views

I am looking for a methode to return all text from after a certain phrase in the file. So I have text file, lets say it called README, which contains the text below. I need a command to only output ...
Kaspar's user avatar
  • 103
0 votes
0 answers
143 views

Is it possible to have a shader which uses both, cutout and transparency? I need a classic built-in shader that uses cutout. But I also need the "full-opaque" parts to be transparently ...
WILEz's user avatar
  • 21
1 vote
1 answer
339 views

I have a folder, with subfolders full of csv files. For each file I would like to get only the third column and save it in another file. Example: filedata1.csv aa,bb,cc cat,horse,"dog, bird" ...
Edoardo Endrizzi's user avatar

15 30 50 per page
1
2 3 4 5
113