Search Results

Search: Posts Made By: Aceform
9,101
Posted By Aceform
That's great. Many thanks guys.
That's great. Many thanks guys.
9,101
Posted By Aceform
Help with cut command
Hi guys,

I have a line of digits with no delimiters (but fixed record length for each fields). for example

aaaa1234bbbb

field 1 is 4 digit long, field 2 is 4 digit long and so on.

I need...
2,432
Posted By Aceform
Hello, Got the command. Just in case if...
Hello,

Got the command. Just in case if anyone is interested

'pwdx pid', where pid is the process id of your process. This gives the directory of the executing process
2,432
Posted By Aceform
Hello, No that run.csh was just an example....
Hello,

No that run.csh was just an example. The processes are very long. I know you can use something like ucb's ps. ps wwax, which will give full process name. But I need to get the directory of...
2,432
Posted By Aceform
Help on ps
Hello,

Can some one help me to find the directory from which the specified process is running.

I need to find the directory of the process (run.csh).

For ex: If we have 5 directories
...
1,518
Posted By Aceform
Thanks for the info. I did search before posting,...
Thanks for the info. I did search before posting, but I failed to spot this one.

Cheers
1,518
Posted By Aceform
SED Help Please
Hi Guys,

I need to replace charecters say starting from 200 until 210, I can use the below tagged RE, for upto 20 char, but is there other way out.

sed -e...
1,498
Posted By Aceform
Works a treat. Thanks Mahendra. There are more...
Works a treat. Thanks Mahendra. There are more than 70 fields in each record. Cheers
1,498
Posted By Aceform
Help with Awk please
cat file1.txt | awk -F, '{print $52}'

awk: record `aaaaaa' has too many fields
record number 1

I need to extract the some fields based on certain criteria, so I can't use cut.

for ex: if...
2,301
Posted By Aceform
Cheers....
Cheers....
2,301
Posted By Aceform
Great. Many thanks for that. One finaly question...
Great. Many thanks for that. One finaly question on this,

how do I replace single quote

echo "2005.11.11 09:25:47 5.0 5.75 'ABCD' " | sed -e 's/://g;s/ /,/g;s/\.//1;s/\.//1'


Output should...
2,301
Posted By Aceform
Hi, Can you please tell me, if there is...
Hi,

Can you please tell me, if there is anyway I can replace first n occurances of the character.

For example: If the input is like below

2005.11.11 09:25:47 5.0 5.75

The output I need...
2,301
Posted By Aceform
Many thanks for your speedy response. Very much...
Many thanks for your speedy response. Very much appreciated.
2,301
Posted By Aceform
Help on sed please
Hi,

I need get rid of all the dots and : in the below line 2005.11.11 09:37:28. I have tried the below command

echo 2005.11.11 09:37:28 | sed -e 's/.//' -e 's/.//' -e 's/://' -e 's/://'

No...
1,522
Posted By Aceform
Many thanks for that Jim
Many thanks for that Jim
1,522
Posted By Aceform
Question on AWK
Does anyone know if we can use AWK to list out the fields which don't have a delimiter, i.e., cut out fields say 2 and 10 in a fixed width data.

I tried to use FIELDWIDTHS in awk but that is not...
6,436
Posted By Aceform
tar cvf archivefile.tar file1 file2 subdir1...
tar cvf archivefile.tar file1 file2 subdir1 subdir2
2,303
Posted By Aceform
Might be to do with the version used when...
Might be to do with the version used when creating the pdf file may not be compatible with ghostview
12,317
Posted By Aceform
That's great. Thanks you so much for your speedy...
That's great. Thanks you so much for your speedy response
12,317
Posted By Aceform
Command to findout the current shell?
Hi,

Can you please tell me if there is anyway we can findout which shell we are using (is there any command?)

Many thanks,
1,395
Posted By Aceform
Thought uniq won't work properly if the file is...
Thought uniq won't work properly if the file is not sorted.
1,395
Posted By Aceform
Hi, That's perfect. I just need to sort the...
Hi,

That's perfect. I just need to sort the file, it works just fine.

Many Thanks for that.
1,395
Posted By Aceform
Hi, I need to get the count of each and...
Hi,

I need to get the count of each and every uniq string? Any help is much appreciated.

Cheers
1,395
Posted By Aceform
Help Please
Hi,

Is there anyway I could get the count of some strings (I only know the position of the string, I don't know the exact strings) Say for example I need to get a count of some 8 strings which...
Showing results 1 to 24 of 24

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