Awk Related Problems & Solutions

24 tags
Refine Tags
Search Tags:

Start a discussion

Results 1 - 24 of 24
[Solved] Create a script that will provide input and extract output
Summary: Hi Experts, Good day. I would like to seek your assistance in creating a script that will provide an input and extract output from the 'MMControl star...

[Solved] Move Files based on Filename time
Summary: Hi Experts, Good day. I would like to seek your assistance in achieving the following condition: A cron script will run daily and hourly that will mo...

Separate file entries based on date.
Summary: Hi Experts, I would like to seek your assitance in creating a script for the following scenario: Single file has different entries with carriage retur...

[Solved] Count Entries based on time ranges
Summary: Hi Experts, I am doing 2 scripts using awk, 1) to count entries that fall into certain time ranges and 2) separate the content of the file into differ...

[Solved] Redirect AWK Output into different files
Summary: Hi Experts, I am trying to redirect awk ouput into different files based on the entry code but when I execute my script, if gives me below error. Samp...

Extract data from messy file
Summary: Hi friends, I want to extract really messy data from a text file (also importable in excel format from the website - see below): 1. First field is na...

AWK compare 2 file and generate multiple file
Summary: Hi, I have a problem using awk, already used for simple task but find hard to complete this. ...

conditional merging two files using awk
Summary: I have 2 files file1 and file2 file1: a a c c c b d d d d file2: a1 a2 c1 c2 c3 b1 d1 d2 d3 d4 I want output as....(uning awk or sed) output: a a1,a2 ...

Awk help, using 2 files
Summary: Hello, I have two text files: file1, file2. I would like to create a third file, file3, that contains the first column of file1 and the second column ...

compare word between two files
Summary: I have two files File1 and File2. Both files contain one word. File1 contains Version2.3 and File2 contains Version?? I want a command that would prov...

extract xml from txt doc using sed/awk
Summary: Hello, I would like to create a .ksh script which cuts certain XML data from a document. I have tried to use SED and AWK and piping but its been some...

Pass variable FROM awk TO shell
Summary: Hi! I've got some piece of program that needs to use a AWK variable INTO SHELL command. Here it is: #Somewhere before, shell variable "linea" got som...

Add a comma delimin to a cut/awk fixed width
Summary: I have a huge file, fixed width 500 characters wide. I would like to 'cut' roughly 125 of these characters out prior to FTPing. I have a cut command w...

Trouble merging 2 files (+math) in AWK
Summary: Hi All, I have two files (file 1 and file 2) that I need to merge and do some simple operations on, but the results are not what is desired. The first...

Help with awk and scripting
Summary: Hi, This is the first time I am working with awk and I am not familiar with any commands in it. But I managed to do most of my work just left with one...

how to rename filenames by shifting words
Summary: Hello everybody, I have some files in directory. I want to shift 3 characters of filenames to the right at a same time. for example, I have filenames ...

extract nth line of all files in a directory
Summary: Hello Unix Experts, I have 123 large data files in a directory. I want to extract the line number 44596 from each file sequentialy and print those lin...

Tricky Awk/Gawk Programming
Summary: Hello, I am at a new job that requires some programming using awk/gawk. I have also never done any computer programming before so I am having a bit o...

merge data from multiple files
Summary: merge data from same line from 10 files , first 6 columns is the same for 10 file, column 7 is not. c1,c2,c3,c4,c5,c6 f1 c7, f2 c7 .... ...

match and sort using awk
Summary: Hello, can I do match and sort data from two fields using awk? Like for example: input apple cat in rat out sky cat pen rat ball sky cpu pen linux b...

substitute command for UNIX
Summary: For UNIX I need to read in a file and substitute postitions 1 -16 with a fixed value (One value) through out an entire file. What is a simple way to d...

Combine multiple files using awk
Summary: Can anyone help me to compare two files and combine them using awk in shell script? Example. File1 Data 010010003 RED 010010013 BLUE 010010055 GREEN...

awk ( convert columns to row )
Summary: Hi, Need help to process columns with null delimiter. Input file is A A BBB CCCC Desired output- C BC ABC ABC ...

compare content of 2 files
Summary: can someone help me, how to know different between two file, using awk, grep or perl example : content of file a: a b 1 c d content of file b 1 4 5 c ...

1


Ask Question