Search Results

Search: Posts Made By: manutd
1,361
Posted By manutd
Thanks, I already had this in mind but i need...
Thanks, I already had this in mind but i need help in the following input :
abcd diff
random data(any number of lines)
efgh diff
random data(any number of lines)
What I exactly need to do is...
1,361
Posted By manutd
Opening a file in perl
Hi I need to open a file if a condition(for example a if a regular expression) is met. How do i do this ?

open (file) if (some regex).....
1,827
Posted By manutd
I meant there's no data. random data contains no...
I meant there's no data. random data contains no data. so it will be something like this :
====
====
1,827
Posted By manutd
Perl Regex Help!!!
Hi,
Thanks for the reply but I am looking for something to put in a perl script and not awk/sed.
1,827
Posted By manutd
Perl Regex Help!!!
Hi,

I get the following when I cat a file *.log
xxxxx
=====
dasdas gwdgsg fdsagfsag agsdfag
=====
random data
=====

My output should look like :
If the random data after the 2nd ====...
5,304
Posted By manutd
To check for existence of a file
I need to check for the existence of a file *.log in a specific directory using a perl script.
Presently am not in that particular directory.
So i am using chdir ("/path/to/my/file)
And then i am...
20,426
Posted By manutd
Well i did figure out how to get about it : ...
Well i did figure out how to get about it :
whatever i needed to tar along with that at the end i added :
tar tar.tgz *.log && find *.log -delete
20,426
Posted By manutd
What I exactly meant was : I have the...
What I exactly meant was :

I have the following files
f1.txt
f2.txt etc in a directory.
Now i tar all of them and store them as tar.tgz
At the same time I want the original f1.txt,f2.txt etc...
15,166
Posted By manutd
To print the 1st column using sed
Hi I have an output which looks like :
XXXXXX XXXX XXXXXXXX XXXXXXXXXXXXXX
XXXXXX XXXX XXXXXXXX XXXXXXXXXXXXXX
.....
.....
.....

Each...
20,426
Posted By manutd
How to delete original files after using a tar operation.
I have a list of log files in a directory. Once i tar them I need to remove the original log files. How do i do it?
Showing results 1 to 10 of 10

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