10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My operating system is Fedora30, shell - bash
I faced combining lists. I will be glad for help regarding strings, arrays and so on.
The bottom line is as follows. It is necessary to combine each element from the first list with elements from the second.
if the second is longer... (4 Replies)
Discussion started by: nezabudka
2. Shell Programming and Scripting
Greetings all, I have two output lists from a log that I am working with. Below are the examples. except, the lists are in the thousands.
FEA1235 (3 Replies)
Discussion started by: jeffs42885
3. Shell Programming and Scripting
Hey guys, so I wrote this simple script. The first time I typed it all out, I had the issue where whatever choice I entered, it would simply tell me it was a "bad selection" aka the else output.
I redid everything, and now no matter the choice, it does the backup option..
My brain hurts, and... (12 Replies)
Discussion started by: jakelawson44
4. Shell Programming and Scripting
I may cross post something similar but I dirtyed my quesion somehow to be clear in the thread
88dee gcc: Grok for callconvention-hard to enable hard float
a2ad2 eglibc: package mtrace separately
61487 python: bump PR of packages after update of distutils.bbclass... (1 Reply)
Discussion started by: yanglei_fage
5. Shell Programming and Scripting
So I I received two lists for my merchandise and both are similar but differences do occur. I want to combine two lists that have similar names but I dont want the similar name to come up twice because I will end up purchasing two of those items. Heres an example below (file is massive). ... (1 Reply)
Discussion started by: kylle345
6. Shell Programming and Scripting
I'm trying to use a foreach command with two lists. The file.txt looks like this:
var1: 100 200 300
var2: 3 6 9
I'm trying to use a foreach command to associate the two variables together. My script looks like this:
set a=(`cat file.txt | grep 'var1' | cut -d... (8 Replies)
Discussion started by: SimonWhite
7. Shell Programming and Scripting
File_A contains Strings:
File_B contains Strings:
Need to have script written in either sh or ksh. Derive resultant files (File_New_A and File_New_B) from lists File_A and File_B where string elements in File_New_A and File_New_B are listed below.
Resultant... (7 Replies)
Discussion started by: mlv_99
To test this program it must create 2 integer lists - list1, list2 - and then read and process a series of list commands from a file named "data.txt". Each command and any associated values, list number, value appears on a separate line. All I can do is get it to input the integers and then... (3 Replies)
Discussion started by: tiger13e
I have a file that contain a list of files. How can I use grep to search the files in the list for a specific pattern? (2 Replies)
Discussion started by: bbbngowc
10. Shell Programming and Scripting
I'm fairly new to shell scripting and would like to know if what I am seeking to do is possible in shell.
I'm trying to make a list of strings. The list will be looped through and each member of the list will be used to pass a parsing option to python. My script looks something like this:
... (3 Replies)
Discussion started by: Nacre