Search Results

Search: Posts Made By: ihot
150,979
Posted By ihot
cut -c14-17,48-55,61-70 works great
Hi,
cut -c14-17,48-55,61-70 works the way I wanted it.
I will try some of the others as well - just to educate myself.
Thanks again wizards. It is great to know that there are champs out there...
150,979
Posted By ihot
cut -f will not work
Hi again,
the following will not work:
cut -f 3,9,10 -d ' ' exampldata.txt

The reason you think it works is because this website removes spaces from my rows. So let me try to post my rows...
150,979
Posted By ihot
cut a row into pieces
Terribly sorry wizards to bug you all again. There was an additional extraction I needed to perform. If I use the cut -f suggest above, I will get this interim text file:

1234 12.0000. 2/29/2008...
150,979
Posted By ihot
oops - how to use "cut" for multi columns
Oops, as it turns out I have access only to "cut" command in UnixDos. My text file actually has a lot of spaces, so the rows look like these:
Department = 1234 __________G/L Asset Acct No =...
26,958
Posted By ihot
Google brought me to this forum
Hi,

Google brought me to this forum. I also checked download.com and noticed there is WinXs but it was for windows 95. There is also UnixDos 5.1. Does anyone have any better recommendations?
26,958
Posted By ihot
Unix "cut' and "awk" in Windows XP?
Hi,
How can I execute Unix's ksh equivalent of "cut' and "awk" in Windows XP?
For example, I want to execute ksh commands from Windows command prompt. Is there a place I can download "cut.exe" and...
150,979
Posted By ihot
you guys are the greatest.
Thanks a million gentlement...You guys are the greatest. You just helped out a deptartment in high tech company in Silicon Valley.
150,979
Posted By ihot
how to extract columns from a text file
Hi,
In ksh, I have a file with similar rows as follows:
Department = 1234 G/L Asset Acct No = 12.0000. 2/29/2008
Department = 1234 G/L Asset Acct No = 13.0000. 3/29/2008.

I want to create a...
3,110
Posted By ihot
Thanks Porter the GREAT!!
Worked like a charm. Thanks so much for your public service. If you are ever in Silicon Valley, email me and I'll buy you a drink (non - alcoholic of course!!)

:D
3,110
Posted By ihot
how to plug dummy data into zero byte file?
Hi,
How can I plug dummy data into files that are zero bytes ?
Here is a sample script for removing the files I think.
find /path/to/directory -size 0 -type f -exec rm -f {} \;

I am not...
10,262
Posted By ihot
does not seem to include code from other file
Hi,
Yes, I did try to use . /some/other/file.vba but it does not execute. We use source operator "." for including ksh code, but it seems to not want to include vba code.
The source operator
....
10,262
Posted By ihot
how to include code
Hi,
I have an easy question...
My ksh script has a section with non ksh script in it - let's pretent it is VBA code. I need to include this vba script in my ksh script into so that my VBA script...
5,655
Posted By ihot
I lied, can we improve on grep ',,,,' bigfile?
I lied when I said that was my last question. :o
Sorry to bother you gentlemen again... can we improve on grep ',,,,' bigfile?

You see, grep ',,,,' bigfile will strip out the first row in this...
5,655
Posted By ihot
cool!! now why didn't I think of that?
Thanks!! Now last question:
How can I integrate this grep with the following awk statement which breaks my bigfile into 2 smaller files?

Here again are the two ksh commands:

grep -v ',,,,'...
5,655
Posted By ihot
how to strip rows from a text file?
Can an expert kindly write an efficient Linux ksh script that will strip rows with no numbers from a text file?
Supposing there are three rows that text file called text.txt :
...
9,707
Posted By ihot
Thanks a million!!
Thanks a million!! That was so simple and elegant. So sorry to take up time from your busy schedule. I do pay back by answering questions in other VBA/ Essbase forums where I have greater...
9,707
Posted By ihot
efficiently split a 2GB text file into two
Can an expert kindly write an efficient Linux ksh script that will split a large 2 GB text file into two?
Here is a couple of sample record from that text file:...
12,563
Posted By ihot
uname -a
uname -a
Linux servername 2.4.1.ELsmp #1 SMP 2005 i686 i686 i386 GNU/Linux
:D
12,563
Posted By ihot
bus speed and CPU info
Hi,
Is there a command I can use to find out how many CPU's and what type are on my server? (I was told to use cat /proc/cpuinfo)
Also, how do I know what kind of bus speeds are on my server?...
Showing results 1 to 19 of 19

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