Search Results

Search: Posts Made By: Dolph
2,389
Posted By Dolph
Copying files from parent directory only
Hello,

Please can someone assist on a issue I am having.

I want to find specific files in the parent directory only that have been modified over the last 2 days and copy them to another...
2,510
Posted By Dolph
cut and sort
Please help.

I have a file containing rows of information. The row needs to be broken down into blocks of 5 and then sorted.
Example:
10381 ...
5,021
Posted By Dolph
Renaming files
Hello

Please can someone help.
We are being sent a directiory full of images.
The names of these images can vary in length and have spaces in them.
example:
nn 999999 nnnnn nnnn nnnn nn nnn...
6,066
Posted By Dolph
radoulov Thanks for you help with this issue...
radoulov

Thanks for you help with this issue I had its much approciated.

---------- Post updated at 08:20 AM ---------- Previous update was at 08:17 AM ----------

ygemici

Thanks for your...
6,066
Posted By Dolph
It brings back the whole record. The xml seems to...
It brings back the whole record. The xml seems to be one line of data. Bit reluctant to send the actual output due to the details on it.
6,066
Posted By Dolph
Radoulov, There is no output. The command...
Radoulov,

There is no output. The command runs but has no output. It just returns back to the command line. If I write it to a file the file is empty.

Thanks

---------- Post updated at...
6,066
Posted By Dolph
tried this, there is no output or errors?
tried this, there is no output or errors?
6,066
Posted By Dolph
I tried this but got no output: sed -n ' >...
I tried this but got no output:
sed -n '
> s/.*APPLICATIONNUMBER="\([^"]*\).*/\1/p
> s/.*DOCUMENTCATEGORY="\([^"]*\).*/\1/p
> ' tescobank.xml
sed: Function...
6,066
Posted By Dolph
Extracting data from xml
Radoulov

I am still having trouble with extracting the information.
I tried to simplify it using:
sed -n 's/.*APPLICATIONNUMBER="\([^"]*\).*/\1/p' infile.xml > dolph

Comes up with the...
6,066
Posted By Dolph
Extracting data from an xml file
Hello,

Please can someone assist.

I have the following xml file:
<?xml version="1.0" encoding="utf-8" ?>
- <PUTTRIGGER xmlns:xsd="http://www.test.org/2001/XMLSchema"...
2,172
Posted By Dolph
Sorted. Thanks for that
Sorted.

Thanks for that
2,172
Posted By Dolph
Running sed commands
Hello

I need to run some sed commands but it involves "/" in the substitute or delete, any ideas how I get round the problem.
Example:

cat file1.txt | sed -e '/</Header>/d' > file2.txt

This...
65,836
Posted By Dolph
Thanks I have used: tar cvf - *.pdf | gzip >...
Thanks I have used:

tar cvf - *.pdf | gzip > allpdf.tar.gz
65,836
Posted By Dolph
Zipping up files in AIX UNIX
I need the command to add single pdf's to one zip file. I have tried gzip but all I can achieve is each file individually being zipped. This zip file then needs to be compatable with a windows unzip...
1,991
Posted By Dolph
Thats what I'm after, thanks for that
Thats what I'm after, thanks for that
1,991
Posted By Dolph
character count per record
Hello

can someone please advise.
I need to send records in a file that are over 10,000 characters long to a seperate file.

Any ideas?

Thanks
18,126
Posted By Dolph
Thanks for that. Its putting out a ^I after the...
Thanks for that.
Its putting out a ^I after the line number. Is it possible to remove this?

Thanks
18,126
Posted By Dolph
Adding a sequence number within a file
Can someone please help.

I need to add a sequence number to the start of each line of a file.
It needs to be 6 characters long. ie 000001 next line starts 000002 etc.
1,511
Posted By Dolph
Thanks for that I've got it working
Thanks for that I've got it working
1,511
Posted By Dolph
Or command
I am having trouble with an Or command in my UNIX script.
It is as follows:

The run never fails even if I put one not beginning with LETT or PACK.
The holdfile is correct and putting out the...
7,796
Posted By Dolph
Sorry, but I can't attach information due to...
Sorry, but I can't attach information due to confidentiality agreements. I can't create dummy data either as we don't create the data files in the first place.
7,796
Posted By Dolph
An AFP file is a composed print file. Usually...
An AFP file is a composed print file. Usually used on continuous printers or IBM printers for large volumes.
7,796
Posted By Dolph
Extracting data from an AFP file
Hello

Anybody any idea how to extract data from an AFP file using UNIX commands?
I could make the AFP to PDF or if there is any other to change it to to make the extraction simplar. I'm open to...
8,800
Posted By Dolph
anbu23 Thanks for that, works like a dream....
anbu23

Thanks for that, works like a dream.
Could you please explain how the sed command is working and how the *. effects the grep command if you have time.

Many thanks for your help with...
8,800
Posted By Dolph
The main data file would something like this. I...
The main data file would something like this. I have removed lots of fields as it would be to large.

00205679740100316707965 Mr T Test 20 Test Street Test Town TE2 7ST ...
Showing results 1 to 25 of 26

 
All times are GMT -4. The time now is 06:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy