07-23-2015
Which posts would (almost?) satisfy your request?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i am very new to UNIX
plz help me in this scenario
i have two text files as below
file1.txt
name=Rajakumar.
Discipline=Electronics and communication.
Designation=software Engineer.
file2.txt
name=Kannan.
Discipline=Mechanical.
Designation=CADD Design Engineer.
... (6 Replies)
Discussion started by: kkraja
6 Replies
2. UNIX for Dummies Questions & Answers
File name : Sample.txt
Actually i would like to read <schema>Oracle<schema> string from input file and return only once database as my output.
Please advise me.
Moved to appropriate forum. (1 Reply)
Discussion started by: balajikalai
1 Replies
3. Shell Programming and Scripting
I want to write a script to check for duplicates
For example: I have a text file with information in the format of /etc/passwd
alice:x:1008:555:William Williams:/home/bill:/bin/bash
bob:x:1018:588:Bobs Boos:/home/bob:/bin/bash
bob:x:1019:528:Robt Ross:/home/bob:/bin/bash
james:x:1012:518:Tilly... (3 Replies)
Discussion started by: ixDLxi
3 Replies
4. Shell Programming and Scripting
Hi There...
I need to serach and replace a strings in a text file.
My file has; books.amazon='Let me read' and the output needed is
books.amazon=NONFOUND
pls if anybody know this can be done in script sed or awk.. i have a list of different strings to be repced by NONFOUND.... (7 Replies)
Discussion started by: Hiano
7 Replies
5. Shell Programming and Scripting
I need to be able to search for a beginning line header, then use grep or something else to get the very next instance of a particular string, which will ALWAYS be in "Line5". What I have is some data that appears like this:
Line1
Line2
Line3
Line4
Line5
Line6
Line7
Line1
Line2
...... (4 Replies)
Discussion started by: Akilleez
4 Replies
6. Shell Programming and Scripting
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB and add/replace... (1 Reply)
Discussion started by: suryanarayana
1 Replies
7. Shell Programming and Scripting
Dear All
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB... (5 Replies)
Discussion started by: suryanarayana
5 Replies
8. Programming
Hello guys,
i want some help please in coding that program , " A mini dictionary"
the file looks like :
Waver --- To be hesitated
retirement --- life after end of career
The user enter the word , and then it prints the meaning of it
Please use CODE tags when... (4 Replies)
Discussion started by: Alyy
4 Replies
9. UNIX for Beginners Questions & Answers
I want to search a small string in a large string and find the locations of the string. For this I used grep "string" -ob <file name where the large string is stored>. Now this gives me the locations of that string. Now how do I store these locations in a text file.
Please use CODE tags as... (7 Replies)
Discussion started by: ANKIT ROY
7 Replies
10. Shell Programming and Scripting
Here is my sample file data:
My requirement is to have a regex expression that is able to search for visible starting string "SSLInsecureRenegotiation Off" between strings "<VirtualHost " and "</VirtualHost>".
In the sample data two lines should be matched.
Below is what I tried but... (5 Replies)
Discussion started by: mohtashims
5 Replies
LEARN ABOUT DEBIAN
ikiwiki-calendar
ikiwiki-calendar(1) General Commands Manual ikiwiki-calendar(1)
NAME
ikiwiki-calendar - create calendar archive pages
SYNOPSIS
ikiwiki-calendar [-f] your.setup [pagespec] [startyear [endyear]]
DESCRIPTION
ikiwiki-calendar creates pages that use the ikiwiki/directive/calendar directive, allowing the archives to be browsed one month at a time,
with calendar-based navigation.
You must specify the setup file for your wiki. The pages will be created inside its srcdir, beneath the archivebase directory used by the
calendar plugin (default "archives").
To control which pages are included on the calendars, a ikiwiki/PageSpec can be specified. The default is all pages, or the pages specified
by the comments_pagespec setting in the config file. A pagespec can also be specified on the command line. To limit it to only posts in a
blog, use something like "posts/* and !*/Discussion".
It defaults to creating calendar pages for the current year. If you specify a year, it will create pages for that year. Specify a second
year to create pages for a span of years.
Existing pages will not be overwritten by this command by default. Use the -f switch to force it to overwrite any existing pages.
CRONTAB
While this command only needs to be run once a year to update the archive pages for each new year, you are recommended to set up a cron job
to run it daily, at midnight. Then it will also update the calendars to highlight the current day.
An example crontab:
0 0 * * * ikiwiki-calendar ~/ikiwiki.setup 'posts/* and !*/Discussion'
TEMPLATES
This command uses two templates to generate the pages, calendarmonth.tmpl and calendaryear.tmpl.
AUTHOR
Joey Hess <joey@ikiwiki.info>
ikiwiki-calendar(1)