03-20-2012
When someone hasn't stated what their system is, odds are good an answer using GNU date will be useless; you don't find that mostly anywhere except Linux. Only fairly recent versions of GNU date have a -d that flexible, too.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can somebody help me in building a text file which will contain the dates of 2 yrs in the format YYYYMMDD using korn shell
e.g. to generate a file with the contents
20010101
20010102
...
...
20010131
20010201
...
...
20010228
20010301
...
and so on. (2 Replies)
Discussion started by: rkkiran
2 Replies
2. Shell Programming and Scripting
Hi,
What's the best way to find all files under a directory - including ones with space - in order to apply a command to each of them. For instance I want get a list of files under a directory and generate a checksum for each file.
Here's the csh script:
#!/bin/csh
set files = `find $1... (5 Replies)
Discussion started by: same1290
5 Replies
3. Shell Programming and Scripting
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
4. Shell Programming and Scripting
I have a text file in which holidays are listed as YYYYMMDD. Here is the sample data of the file.
20090911
20090912
20090913
I need to read this file and see if the current day is listed in this text file. If today and any of the rows in my text file match, I need to do further... (2 Replies)
Discussion started by: Pramodini Rode
2 Replies
5. UNIX for Dummies Questions & Answers
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
6. UNIX for Advanced & Expert Users
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
7. UNIX for Advanced & Expert Users
Hey Guys ,
Recently working on a requirement , i had to deal with XLS file with multiple tabs and the requirement was as below :
1. Convert one XLS file with multiple tabs to multiple CSV files.
-- As i was working on MAC , so it was quite easy through APPLESCRIPT to deal with this.But... (2 Replies)
Discussion started by: himanshu sood
2 Replies
8. Emergency UNIX and Linux Support
Hey Guys ,
Recently working on a requirement , i had to deal with XLS file with multiple tabs and the requirement was as below :
1. Convert one XLS file with multiple tabs to multiple CSV files.
-- As i was working on MAC , so it was quite easy through APPLESCRIPT to deal with this.But... (6 Replies)
Discussion started by: himanshu sood
6 Replies
9. Shell Programming and Scripting
I need to sum values in text file in case duplicate row are present with same name and different value below is example of data in file i have and format i need.
Data in text file
20170308
PM,U,2
PM,U,113
PM,I,123
DA,U,135
DA,I,113
DA,I,1
20170309
PM,U,2
PM,U,1
PM,I,123
PM,I,1... (3 Replies)
Discussion started by: Adfire
3 Replies
10. Shell Programming and Scripting
hi all,
trying this using shell/bash with sed/awk/grep
I have two files, one containing one column, the other containing multiple columns (comma delimited).
file1.txt
abc12345
def12345
ghi54321
...
file2.txt
abc1,text1,texta
abc,text2,textb
def123,text3,textc
gh,text4,textd... (6 Replies)
Discussion started by: shogun1970
6 Replies
LEARN ABOUT DEBIAN
update-auctex-elisp
Update-AUCTeX-elisp(8) Debian GNU/Linux Manual Update-AUCTeX-elisp(8)
NAME
update-auctex-elisp - Update AUCTeX automatically generated TeX macros and LaTeX styles data
SYNOPSIS
update-auctex-elisp [--daemon] [--no-act] [FLAVOR ...]
DESCRIPTION
The update-auctex-elisp script updates the automatically generated TeX and LaTeX data used by AUCTeX and stored in /var/lib/auctex/<FLA-
VOR>, where <FLAVOR> stands for any valid installed Emacs flavor.
It is called automatically by the Debian auctex package (via dpkg triggers) whenever new (La)TeX macros and style files are installed in
the TeX and METAFONT system trees; beside, it is called on GNU AUCTeX and GNU Emacs flavor upgrades and installations, to ensure up to date
parsing. It may and should also be called manually after additions to the local TeX and METAFONT system tree.
If no arguments are specified, update-auctex-elisp caters to every supported GNU Emacs flavor installed on the system; else it updates only
the specified flavors, if they are installed.
OPTIONS
--daemon
Detach from the terminal and run in the background.
--no-act
Describe what would be done without doing nothing.
EXIT STATUS
The update-auctex-elisp command returns 0 on success and a positive integer on errors.
FILES
/var/lib/auctex: the hierarchy containing the byte-compiled files.
BUGS
None known.
SEE ALSO
emacs(1), tex(1), latex(1).
UNRESTRICTIONS
This program is copylefted. Refer to the GNU General License for conditions of use.
AUTHOR
This program has been written and is actively maintained by Davide G. M. Salvetti <salve@debian.org> for the Debian GNU/Linux operating
system.
Debian Project 1998-02-17 Update-AUCTeX-elisp(8)