Search Results

Search: Posts Made By: lupin..the..3rd
1,713
Posted By lupin..the..3rd
Yikes, ok, I just realized it's not a blank line...
Yikes, ok, I just realized it's not a blank line in between records. It's a line containing a single " " space character.

I have deleted all of those single-spaces, so the blank lines are truly...
1,713
Posted By lupin..the..3rd
Hmm.. The first one removes the blank lines,...
Hmm..

The first one removes the blank lines, but does not concatenate any lines.

The second one concatenates all lines from all records into a one single row.
1,713
Posted By lupin..the..3rd
That didn't work for me, it concatenated all...
That didn't work for me, it concatenated all records into one single row, rather than each record into its own row.

This is a RHEL 6 server, the awk is GNU awk v3.1.7

Thanks
1,713
Posted By lupin..the..3rd
Converting columns of text to rows, with blank lines
I've spent the past hour trying different things and googling for this solution and cannot find the answer. Found variations of this, but not this exact thing.

I have the following text, which is...
Forum: HP-UX 05-19-2014
2,328
Posted By lupin..the..3rd
I like to use /dev/urandom to feed openssl for...
I like to use /dev/urandom to feed openssl for wiping a block device. OpenSSL output is much much faster than /dev/urandom.

I use this on Linux but it should also work on HP-UX. I've got some...
4,225
Posted By lupin..the..3rd
Ok, just like you said, this worked perfectly for...
Ok, just like you said, this worked perfectly for me, so I'll be using this on my server. THANK YOU!


[root@email root]# cat script.sh
#!/bin/sh
awk '
BEGIN { ofn = "/dev/null"
}
/^--dump/...
4,225
Posted By lupin..the..3rd
Yep, you caught me there. :o The first line of...
Yep, you caught me there. :o The first line of the input file does not begin with "--dump". There are a few lines of metadata at the head of the file. This metadata can be discarded. After the...
4,225
Posted By lupin..the..3rd
Thank you Don, I agree that it is more elegant to...
Thank you Don, I agree that it is more elegant to only invoke awk one time, rather than twice. Even more so when you consider that the dump files I need to split up are ~4 GB each in size,...
4,225
Posted By lupin..the..3rd
On my system (HP-UX 11.31) I get: awk: Input...
On my system (HP-UX 11.31) I get:

awk: Input line Disposition: attachm cannot be longer than 3,000 bytes.
The input line number is 53. The file is qsubmit.processed.dump.
The source line...
4,225
Posted By lupin..the..3rd
Splitting a delimited text file
Howdy folks, I've got a very large plain text file that I need to split into many smaller files. My script-fu is not powerful enough for this, so any assistance is much appreciated.

The file is a...
Forum: HP-UX 12-30-2013
5,450
Posted By lupin..the..3rd
What exactly are you wanting to check with this...
What exactly are you wanting to check with this url? And which protocol is this URL using? Is it HTTP?

- Lynx is a good TUI web browser
- Curl is a good command line URL tool that supports...
Forum: HP-UX 12-03-2013
5,117
Posted By lupin..the..3rd
Sendmail on HP-UX?
Hello, our email server is HP-UX 11.31 and is running Sendmail and Cyrus-IMAP. We need to implement mail routing based on domain, for only a specific small group of domains. It sounds like...
Forum: HP-UX 11-21-2013
2,701
Posted By lupin..the..3rd
Nothing is wrong. You simply don't have...
Nothing is wrong. You simply don't have /usr/local/bin in your path. I don't either, on any of my servers. This is the default. To run an executable from a location not in your path, you have to...
Forum: HP-UX 11-18-2013
5,906
Posted By lupin..the..3rd
Yes we've had good results with the copytruncate...
Yes we've had good results with the copytruncate option as well, in logrotate on hp-ux 11.31.

We too have an application that is continuously writing output to the same log file, and it grows to...
Forum: Hardware 10-30-2013
3,592
Posted By lupin..the..3rd
The speed is going to vary greatly depending on...
The speed is going to vary greatly depending on the distance between the laptop and the wifi access point, and also on what is between the laptop and the wifi access point (walls, floors, etc.)
...
Forum: Hardware 10-23-2013
3,792
Posted By lupin..the..3rd
Mainly, it's politics. Yes, Firewire is...
Mainly, it's politics.


Yes, Firewire is superior to USB1/2 in every metric; throughput, latency, bus power, number of devices, etc. Plus Firewire is more reliable and compatible than USB,...
Forum: Red Hat 10-23-2013
2,181
Posted By lupin..the..3rd
Some of my apps like DOSBOX require a running X...
Some of my apps like DOSBOX require a running X server.

RHEL5 runs fine in low resources. Total consumed memory of this RHEL5 system is 28 megabytes, and that includes sendmail and apache. This...
Forum: War Stories 10-22-2013
5,246
Posted By lupin..the..3rd
I disagree. A VAX makes a fantastic learning...
I disagree. A VAX makes a fantastic learning tool. Any undergraduate CS assignment will run just fine on a VAX. Undergrads are learning how this stuff works, they don't need monster power.

Just...
Forum: Linux 10-22-2013
5,321
Posted By lupin..the..3rd
For home use, don't bother with LVM, and create...
For home use, don't bother with LVM, and create three partitions on your hard drive. One for /, one for /home, and one for swap.

I recommend:

/, 32 GB
swap, 2 GB
/home, everything else
...
Forum: Red Hat 10-22-2013
1,689
Posted By lupin..the..3rd
Wow, not much info here.
Wow, not much info here.
Forum: Red Hat 10-22-2013
1,896
Posted By lupin..the..3rd
I don't see where he mentioned Centos. :confused:
I don't see where he mentioned Centos. :confused:
Forum: Red Hat 10-22-2013
2,181
Posted By lupin..the..3rd
GUI for RHEL5 on low memory system
I've got RHEL5 running in CLI mode on a powerful workstation. It was a Pentium Pro 200 Mhz, but was upgraded to the new Pentium II Overdrive 333 Mhz chip. This machine has 128 MB of RAM. The video...
Forum: Hardware 10-22-2013
2,900
Posted By lupin..the..3rd
Don't get offended at my suggestion, but you...
Don't get offended at my suggestion, but you might want to invest in a book that describes how computer hardware works. The concept of a data bus is not new, and a book on the subject would give you...
Forum: Hardware 10-22-2013
3,150
Posted By lupin..the..3rd
Your best bet is google, to find discussion...
Your best bet is google, to find discussion threads where others are using this same laptop. The 'lspci' output is what you're after.

This site used to compile such information:...
Forum: IP Networking 10-21-2013
3,262
Posted By lupin..the..3rd
So DNS "forwarding" is the feature I should look...
So DNS "forwarding" is the feature I should look into?

There's so many DNS buzz-words to learn. Forwarding, Stealth, Recursive, Split, Authoritative, etc. :eek:
Showing results 1 to 25 of 108

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