10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I have multiple files on a directory with the following content:
I would like to filter all the files with awk or sed or something else so I can get below... (6 Replies)
Discussion started by: bayupw
2. Shell Programming and Scripting
I'd always appreciate all helps from this website. I would like to relocate strings based on the index number from an index file.
Index numbers are shown on the first column in the index file (index.txt) and I would like to relocate "path" based on index numbers. Paths are placed... (11 Replies)
Discussion started by: jypark22
I am having a requirement to find the difference between 2 files and generate a discrepancy report out of it as an html page. I prefer using diff -y file1 file2 since it gives user friendly layout to know any discrepancy in the record and unique records among the 2 file. Here's how it... (12 Replies)
Discussion started by: Badhrish
4. UNIX for Dummies Questions & Answers
Here is my task, I feel sure this can be accomplished with see/awk but can't seem to figure out how.
I have large flat file from which I need to extract every case of a pairing of characters (GG) in this case PLUS the previous 20 characters. The output should be a list (which I plan to make... (17 Replies)
Discussion started by: Twinklefingers
5. Shell Programming and Scripting
I have two files: a.doc and b.txt
I wish to search the strings from file b.txt in a.doc and want to highlight them in a.doc with different colours using Perl or bash./awk/sed?
Please guide me. :)
Thanks!!!!! (10 Replies)
Discussion started by: bioinfo
6. Shell Programming and Scripting
Below am trying to separate FA-7A:1, In output file it should display 7A 1
Command am using
Gives same output as below format:
22B7 10000000c9720873 0
22B7 10000000c95d5d8b 0
22BB 10000000c97843a2 0
22BB 10000000c975adbd 0
Not showing FA ports as required format... (5 Replies)
Discussion started by: aix_admin_007
7. Shell Programming and Scripting
I am trying to get lines between the last occurrences of two patterns. I have files that have several occurrences of “Standard” and “Visual”. I will like to get the lines between “Standard” and “Visual” but I only want to retain only the last one e.g.
Some... (4 Replies)
Discussion started by: damanidada
8. Shell Programming and Scripting
Hi. I have to delete the content between all the occurrences of the xml tags in a single file.
* The tags <script>.....................</script> occurs more than once in the same file.
* It follows tagging rules meaning a start tag will be followed by an end tag. Will not have... (9 Replies)
Discussion started by: satheeshkumar
9. Shell Programming and Scripting
Hello i need some help with the usage of sed.
Situation : 2 textfiles, file.in , file.out
In the first textfile which is called file.in are the words for the substitution.
Every word is in a new-line like :
In the second textflie wich is called file.out is... (5 Replies)
Discussion started by: Kingbruce
10. UNIX for Dummies Questions & Answers
Dear Unix Gurus,
I've got a data file with a few hundred lines (see truncated sample)...
TASK_NAME=LA48 PDD Profiles
TASK_NAME=LA48 PDD Profiles
... (5 Replies)
Discussion started by: tintin72
IGAWK(1) Utility Commands IGAWK(1)
igawk - gawk with include files
igawk [ all gawk options ] -f program-file [ -- ] file ...
igawk [ all gawk options ] [ -- ] program-text file ...
Igawk is a simple shell script that adds the ability to have ``include files'' to gawk(1).
AWK programs for igawk are the same as for gawk, except that, in addition, you may have lines like
in your program to include the file getopt.awk from either the current directory or one of the other directories in the search path.
See gawk(1) for a full description of the AWK language and the options that gawk supports.
cat << EOF > test.awk
while (getopt(ARGC, ARGV, "am:q") != -1)
igawk -f test.awk
Effective AWK Programming, Edition 1.0, published by the Free Software Foundation, 1995.
Arnold Robbins (email@example.com).
Free Software Foundation Nov 3 1999 IGAWK(1)