Search Results

Search: Posts Made By: frozensmilz
1,345
Posted By frozensmilz
sed help - convert a string of form ABC_DEF_GHI to AbcDefGhi
How can covert a string of form ABC_DEF_GHI to AbcDefGhi using any online command such as sed etc. ?

Thanks.
9,099
Posted By frozensmilz
help - sed - insert space between string of form XxxAxxBcx, without replacing the pattern
If the string is of the pattern XxxXyzAbc...
The expected out put from sed has to be Xxx Xyz Abc ...

eg: if the string is QcfEfQfs, then the expected output is Qcf Ef Efs.

If i try to...
Forum: Red Hat 09-20-2010
6,615
Posted By frozensmilz
How to delete a file named "~" ???
When i 'ls' the bin folder, there was "~" tilde in the list.
How to delete this safely as this symbol represents home folder.
Kindly help.
1,684
Posted By frozensmilz
Thanks for the response... I am getting this...
Thanks for the response...

I am getting this output....
-sh called me

I am not root user. & the output is supposed to be....
"f1 called me" or "f2 called me" not "-sh called me"
1,684
Posted By frozensmilz
Help with printing the calling script filename
Consider the following sample scripts.....

filename: f1

# Call f3
f3


filename: f2

# Call f3
f3


filename: f3

# f3
echo "$x called me"
Forum: UNIX and Linux Applications 05-16-2010
3,015
Posted By frozensmilz
Creating pdf with bookmarks using ps2pdf ??
Hello to all,

I have a *.ps file, which needs to be converted to a pdf file. The file is huge & i would like it to have bookmarked according to main titles (already provided).

What is the...
5,579
Posted By frozensmilz
Is there any ntp command for windows ?. The built...
Is there any ntp command for windows ?. The built in internet time sync in windows wont work if the system time difference is huge (like years) from actual time. My laptop is manufactured in 2004 so...
5,579
Posted By frozensmilz
Getting time from internet and updating the windows time using python
Ok !, I did it myself. Here is the code.

Python (Modified from actual source: java2s.com)


# mytime2 - SYNC TIME WITH WOLFRAM ALPHA VERSION 2

import sys
import HTMLParser
import urllib
...
5,579
Posted By frozensmilz
Getting current time from wolfram.com using python
Hello to all,

I am looking of a python script that can fetch date & time from wolfram or any website that gives correct time.

1. Open woflram.com website
2. Search query "time"
3. Search...
Forum: Programming 12-14-2009
19,204
Posted By frozensmilz
Thanks a lot for the help. It gave me a start...
Thanks a lot for the help. It gave me a start (keywords for googling :) )...given below is the code for filling the memory in linux ....yes the swap is unavailable. The vendor installed it that way....
Forum: Programming 12-14-2009
19,204
Posted By frozensmilz
Stress testing memory using malloc in linux ??
Hi to all,

Recently i am testing an equipment that runs in i586 fedora linux. I have to test mmap function. For that i determined to fill the memory and run the required application to check...
7,373
Posted By frozensmilz
Shell Script to display function names (called & defined) in a C++ Source Code
Hello to all,

I am looking for a way to display only the names of function (calls & definition) of a C++ source code.There is already a post related to this, but the script is to find the...
Forum: SCO 05-06-2009
6,274
Posted By frozensmilz
Cannot type properly in telnet window (windows Xp & SCO Unix)
Hello friends,

I am using telnet from windows xp to connect to SCO Unix. Since i am used to telnet environment given by linux from windows, this one is annoying.

The cursor movements has no...
3,030
Posted By frozensmilz
"Giving "read" from standard input a timeout." -...
"Giving "read" from standard input a timeout." - the title dosent make any sense.
Can you please tell me what keyword or string have you used to get this result ?. May be i should improve my search...
3,030
Posted By frozensmilz
Exit script if the user dosent enter any data within 5 seconds
Hello friends,

Kindly help me in developing a script that asks user to enter a value and will wait for 5 seconds for the feedback. If there is no answer from the user the script will perform exit...
14,064
Posted By frozensmilz
Solution for generating dates between given dates
May be 'seq' is available in linux alone...i created this script in red hat linux not in solaris. Anyway the purpose of seq is to iterate the variable in a sequence provided if we know the start &...
14,064
Posted By frozensmilz
Solution for generating dates between given dates
'seq' is not my script..its a built in option for iterating a variable value in a sequence

ex: for x in $(seq 1 3) means x will be 1,2,3.

Is the script working ?......you may need to do some...
14,064
Posted By frozensmilz
Solution for generating dates between given dates
I believe this shell script will solve the problem. I was hoping for any UNIX built in functions to do the job. Because there is no point in reinventing the wheel. Please feel free to cut short my...
6,736
Posted By frozensmilz
Need script to generate all the dates in DDMMYY format between 2 dates
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....
2,006
Posted By frozensmilz
Need help in script; [ script/s to control a sentence & its words ]
Hello friends,

Thanks very much for the support. Sorry for the confusion.

Explaining the situation with a sample case

Input is a sample text containing a if block as follows


...
2,006
Posted By frozensmilz
Need help in script; [ script to control a sentence & its words ]
Hello friends,

I am looking for any sed/awk/python script that can identify the position of a character or word in a file. Well, I prefer sed. <space> is a tab space since I actually dont know how...
1,833
Posted By frozensmilz
Need help in sed: adding a line after each search block
Hi friends,

I have written script that will search & display the block of sql statement. Since there are many blocks of sql statement i am finding it difficult to distinguish between them. The...
5,334
Posted By frozensmilz
Need help in sed command [ Adding a dividing line between each pattern block ]
Thanks for the help,

How can i add a dividing line like "------------------" between each pattern block using sed ?

Thanks in advance,
:):confused:
9,290
Posted By frozensmilz
Need help in sed command [ printing a pattern + its line no or line no alone ]
Hello friends,

Only very recently i started learning sed command...an i found that sed is faster in finding the patterns than some of my scripts that uses grep to check the...
5,334
Posted By frozensmilz
Need help in sed command (adding a blank line btw each block generated by pattern)
Hello friends,

I have a C source code containing sql statements. I use the following sed command to print all the sql blocks in the source code....

sed -n "/exec sql/,/;/p"...
Showing results 1 to 25 of 39

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