Sponsored Content
Full Discussion: Grep file containing dates
The Lounge What is on Your Mind? Grep file containing dates Post 303027578 by Corona688 on Wednesday 19th of December 2018 10:43:27 AM
Old 12-19-2018
grep is a program, not a verb -- a program that does exactly what you do not want. It is almost never a useful descriptive term.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Formatting dates in a file

Hi! Sitting with a headache this morning and can't get the brain around it! I have a file with 32000 lines that needs to be inserted onto a database. My problem is with the following: First part between bars is a date and second some identifiers |19511108|0001417| |19481024|0001439|... (6 Replies)
Discussion started by: maverick
6 Replies

2. Shell Programming and Scripting

grep a log file between 2 dates

Hi Currently I can grep a log file with the following command: $results = `grep -A 2 '^$date.$time.*' $log`; and the following arguments: $date = 2007/04/25 $time = 16:07 Log example: 2007/04/25 16:07:12.145701 2007/05/25 14:07:12.145701 2007/05/25 17:07:12.145701 2007/06/25... (37 Replies)
Discussion started by: Epiphone
37 Replies

3. Shell Programming and Scripting

grep a log file to filter previous dates

Hi, I have problem of filtering a log file from my perl script. #cat /data/pinpe.csv_20070731 | nawk -v FS=, '{print $1','$18','$22','$26}' | grep -w 100 | grep -w 1 | nawk '{print $4}' Below is the output: 2009-06-16 2009-01-29 2009-06-02 2008-03-05 2007-08-05 2007-09-24... (5 Replies)
Discussion started by: pinpe
5 Replies

4. Shell Programming and Scripting

Help to switch dates from a file

Hi. I need some assistance with a file who at the end i must import to EXCEL. The problem is that i have a file with this inside: Output: JOBID START TIME END TIME ELAPSED CPU ------------------------------------------------------------ AVERAGE: ... (2 Replies)
Discussion started by: osramos
2 Replies

5. Shell Programming and Scripting

Need script to generate all the dates in DDMMYY format between 2 dates

Hello friends, I am looking for a script or method that can display all the dates between any 2 given dates. Input: Date 1 290109 Date 2 010209 Output: 300109 310109 Please help me. Thanks. :):confused: (2 Replies)
Discussion started by: frozensmilz
2 Replies

6. Shell Programming and Scripting

How to processing the log file within certain dates based on the file name

Hi I am working on the script parsing specific message "TEST" from multiple file. The log file name looks like: N3.2009-11-26-03-05-02.console.log.tar.gz N4.2009-11-29-00-25-03.console.log.tar.gz N6.2009-12-01-10-05-02.console.log.tar.gz I am using the following command: zgrep -a --text... (1 Reply)
Discussion started by: shyork2001
1 Replies

7. UNIX for Dummies Questions & Answers

How to write the dates between 2 dates into a file

Hi All, I am trying to print the dates that falls between 2 date variables into a file. Here is the example. $BUS_DATE =20120616 $SUB_DATE=20120613 Output to file abc.txt should be : 20120613,20120614,120120615,20120616 Can you pls help me accomplish this in LINUX. Thanks... (5 Replies)
Discussion started by: dsfreddie
5 Replies

8. Shell Programming and Scripting

Grep search for value between dates

Hi I am new to scripting and I have a requirement to grep a value from large numbers of xml files and see if this value exist then I want to check the date and see if it falls between two dates (eg: today and feb 17), then print the name of file. the values in xml file is as follow... (7 Replies)
Discussion started by: mmsiddig
7 Replies

9. UNIX for Advanced & Expert Users

How to get the Missing dates between two dates in the table?

Hi Am Using Unix Ksh ... I have a Table called date select * from date ; Date 01/02/2013 06/02/2013 I need the output as Missing Date 01/02/2013 02/02/2013 03/02/2013 04/02/2013 05/02/2013 06/02/2013 (2 Replies)
Discussion started by: Venkatesh1
2 Replies

10. Shell Programming and Scripting

Replacing the Dates in a file

Hello Gurus, I'm beginner in Shell scripting. I got a requirement to write a script. I have a file with below (similar) content If you can observe above content, there are many date values existed (with different dates) in a format: ddMonyyyy I have to write replace all these... (7 Replies)
Discussion started by: raghu.iv85
7 Replies
cs00toatok(1)							   User Commands						     cs00toatok(1)

NAME
cs00toatok - conversion cs00 user dictionary to ATOK user dictionary SYNOPSIS
cs00toatok [filename...] AVAILABILITY
SUNWjfpu DESCRIPTION
cs00toatok is a filter that converts cs00 word-list-file to ATOK word-list-file. cs00toatok is used for the purpose of using cs00 user words on ATOK12 as well as on cs00. cs00toatok reads file(s) specified by filename(s). If no filenames are given, cs00toatok reads a file from the standard input. The con- tents of the files must be the format of cs00 word-list-file. cs00toatok writes ATOK word-list-file to the standard output. cs00toatok con- verts each word according to the following rules. Kana reading (Phonetic), Kanji word Does not change any character and the length of Kana reading and Kanji word of each source word. Part-of-speech (Hinshi) Converts Hinshi of source word according to the table shown below. +--------------------------------------------------------------------------------------------------------+ |Part-of-speech in cs00 Part-of-speech in ATOK | | |:N1 noun1 | 01 common noun | |:N2 noun2 | 01 common noun | |:M1 person's name1 | 02 proper noun | |:M2 person's name2 | 02 proper noun | |:T1 place name1 | 02 proper noun | |:T2 place name2 | 02 proper noun | |:NM numeral | 13 numeral | |:NN supplemental numeral | 12 suffix | |:PR prefix | 11 prefix | |:SF suffix | 12 suffix | |:AD adverb | 29 adverb | |:CN conjunction | 09 conjunction | |:RT participial adjective | 08 participial adjective | |:AJ adjective | 27 adjective | |:AV adjective verb | 28 adjective verb | |:SH S-series irregular conjugation verb | 03 noun form of S-series irregu- | | | lar conjugation verb | |:ZH Z-series irregular conjugation verb | 04 noun form of Z-series irregu- | | | lar conjugation verb | |:1V single conjugation verb | 23 single conjugation verb | |:KV K-series five conjugation verb | 14 K-series five conjugation verb | |:GV G-series five conjugation verb | 15 G-series five conjugation verb | |:SV S-series five conjugation verb | 16 S-series five conjugation verb | |:TV T-series five conjugation verb | 17 T-series five conjugation verb | |:NV N-series five conjugation verb | 18 N-series five conjugation verb | |:BV B-series five conjugation verb | 19 B-series five conjugation verb | |:MV M-series five conjugation verb | 20 M-series five conjugation verb | |:RV R-series five conjugation verb | 21 R-series five conjugation verb | |:WV W-series five conjugation verb | 22 W-series five conjugation verb | |:UN no classification | - - | |:TK single kanji | 07 single kanji | |:BS clause | - - | +-------------------------------------------------------------+------------------------------------------+ Words with the part of speech "no classification" (:UN) or "clause" (:BS) need -a option to be put out. Also, a source word with multiple parts of speech is converted to plural words, each of which has the each part of speech. OPTIONS
-a Put out words whose part of speech are "no classification" or "clause" as words whose parts of speech are unknown, in addition to words put out by default. NOTES
cs00toatok does not change Kana reading and Kanji word of any word. Therefore, note below. o A word may not be registered to ATOK user dictionary with the characters or the length of kana reading and kanji word of the word. o If the edge of a word is `'' (Zenkaku single quote) or `"' (Zenkaku double quote), a new word stripped the edge of characters from the word is registered. o If Kanji word of a word contains `,' (Zenkaku comma), the word cannot be registered to ATOK user dictionary. Use ATOK12 dictionary utility to register a word-list-file to ATOK dictionary. For detail, refer to ATOK12 User's Guide. SEE ALSO
atok12(1), atok8wordlist(4) SunOS 5.10 10 Jan 2003 cs00toatok(1)
All times are GMT -4. The time now is 01:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy