9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Source Code of the original script is down below please run the script and try to solve this problem
this is my data and I want it column wise
2019-03-20 13:00:00:000
2019-03-20 15:00:00:000
1
Operating System
LAB
0
1
1
1
1
1
1
1
1
1
0
1 (5 Replies)
Discussion started by: Shubham1182
5 Replies
2. UNIX for Advanced & Expert Users
Hi, I have been trying to see how i can insert a column in the beginning to my html table
This is how it looks
Name Age
Sid 32
John 33
Mary 34
I want to insert a column Job before Name column, so it looks like
Job Name Age
IT Sid 32
Doctor... (3 Replies)
Discussion started by: sidnow
3 Replies
3. Shell Programming and Scripting
Hello guys,
I'm new to shell programming, I would like to insert two new columns in a space separated file having this format using awk, starting from the third row:
A B C D E F 1 ;
A B C D E F 1 ;
A B C D E F 1 ;
A B C D E F 1 ;
Basically, the resulting file should have the following... (3 Replies)
Discussion started by: transat
3 Replies
4. Shell Programming and Scripting
The output of an awk script is the below file. Line 1,3 that starts with the Ion... need to be under line 2,4 that starts with R_. The awk runs but no output results. Thank you :).
file
IonXpress_007 MEV37
R_2016_09_20_12_47_36_user_S5-00580-7-Medexome
IonXpress_007 MEV40... (6 Replies)
Discussion started by: cmccabe
6 Replies
5. Shell Programming and Scripting
Hello folks
I have a file called fill1.txt which contains:
1 2
2 1
1 2
1 2
my other file is called fill2.txt which contains:
1 2 1 2 2 2 1 2 1 2
1 1 2 1 1 2 1 1 1 1
2 2 2 1 1 2 2 1 1 2
1 1 1 2 2 2 1 2 2 1
Now, I am looking for a awk command which could insert fill1.txt between... (1 Reply)
Discussion started by: sajmar
1 Replies
6. Shell Programming and Scripting
Dear Team
I need to insert field(which is need to taken from previous line's first field) in first column if its blank. I had tried using sed but not find the way. Detail input and output file as below.
Kindly help for same.
INPUT:
SCGR SC DEV DEV1 NUMDEV DCP ... (7 Replies)
Discussion started by: jaydeep_sadaria
7 Replies
7. UNIX for Dummies Questions & Answers
I have a flat file with the 3 columns and separate by tab delimiter, and the last column with special character.
A B
C D
F G
Now I would like to swap the third column with second column to following format:
A B
C D
F G
I know this cannot be done in Unix command with using cut... (3 Replies)
Discussion started by: newbie2011
3 Replies
8. UNIX for Dummies Questions & Answers
hi everybody!
Could u show me how to do following:
I have files (in total 22) .txt that contain one column of values (the total number of values varies from file to file from 40.0000 to 10.000). For example:
742429
758311
995669
1008567
1011278
1011521
1020428
1021403
...
And I need... (2 Replies)
Discussion started by: kush
2 Replies
9. Shell Programming and Scripting
Hi,
I am having trouble converting a text file. I have been working for this whole day now, still i couldn't make it.
Here is how the text file looks:
_______________________________________________________
DEVICE STATUS INFORMATION FOR LOCATION 1:
OPER STATES: Disabled E:Enabled ... (5 Replies)
Discussion started by: Issemael
5 Replies