10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm a newbie to shell scripting.
Can anyone help with the below requirement ?
The leading and trailing date of a files to be removed.
I'm looking for output like... (7 Replies)
Discussion started by: shivamayam
2. Shell Programming and Scripting
I need to create links between two directories.
have multiple files in a specified location.
Source Location ex: /opt/xdm/input/
Target Location ex: /opt/xdm
input file names: 1. abc_app.aus.apac.yyyymmdd.dtd
I need to build a code that reads... (1 Reply)
Discussion started by: kthri_82
3. Shell Programming and Scripting
I have file name like:
I need to remove mid part of data
final name should be
thanks in advance (2 Replies)
Discussion started by: ken6503
4. Shell Programming and Scripting
I am trying to remove bunch of lines from web pages between two tags:
one is <h1> and the other is <table
it looks like
<h1>Anniversary cards roses</h1>
<table summary="Free anniversary greeting cards." cellspacing="8" cellpadding="8" width="70%">my goal... (5 Replies)
Discussion started by: georgi58
5. Shell Programming and Scripting
I have a script which currently uses a file containing a list of directories as an argument. The file is read in to an array, and then the array is iterated in a for loop.
What I would like to do is cut off the first few directories of the directory path (they won't exist on the server where the... (5 Replies)
Discussion started by: msarro
6. Shell Programming and Scripting
I have a scenario like, I need to replace a hyphens(-) for date field alone in the file.
I have minus(-) sign for other fields it should remain as such, only for date fields hyphens must be removed. Please find the content for the file below:
-----------... (4 Replies)
Discussion started by: G.K.K
7. UNIX for Dummies Questions & Answers
I am getting the file which is having the format as follows:
I need to get only the file name without date as
abc (5 Replies)
Discussion started by: pradkumar
8. Shell Programming and Scripting
I have a file where there is a date field (single line variable length file)
how to extract just the date portion from it
the position of date field may vary anywhere in the line
but will always have the format mm-dd-yyyy
for eg .
xxxxxxxxxxxxxxx09-10-2006xxxxxxxxxxxxxxxxxxxx (5 Replies)
Discussion started by: misenkiser
Hi Guys here I am again,
I have two files in a specified location.
Location ex: /opt/xdm/input/
input file names: 1. abc_app.yyyymmdd.dtd
I need to build a code that reads the files from the location based on the oldest date and cuts the date part... (5 Replies)
Discussion started by: ruthless
10. Shell Programming and Scripting
Can anyone tell me how to remove a portion of a large file to smaller ones? What I have is a large file that was created becasue several similar files were joined together. Each individual file starts with MSG_HEAD. I want to take everything from MSG_HEAD up to were it says MSG_HEAD again and... (13 Replies)
Discussion started by: methos