Search Results

Search: Posts Made By: sembii
Forum: HP-UX 03-23-2015
5,626
Posted By sparcguy
nsswitch.conf is very sensitive in HPUX. strange...
nsswitch.conf is very sensitive in HPUX. strange things can happen if this config is wrong because it does try to do lookup and resolutions, apart from slow logins have also seen other things like...
Forum: HP-UX 04-14-2015
5,626
Posted By methyl
Try working your way through the available...
Try working your way through the available options:

[notfound=continue]
1,911
Posted By Scrutinizer
There is no chance. A forward slash is one of the...
There is no chance. A forward slash is one of the few characters that cannot be used in a file name, because it is used for pathname resolution.
Forum: HP-UX 10-13-2014
3,383
Posted By Scrutinizer
You can use sed 's/^A/foo/g' file > newfile but...
You can use sed 's/^A/foo/g' file > newfile but you need to enter ^A with CTRL-V CTRL-A .
17,407
Posted By Chubler_XL
How about this this: awk ' length { ...
How about this this:

awk '
length {
sub("ETX.*", "ETX")
print RS $0 > "file" ++n ".txt"
close ("file" n ".txt")
}' RS="SOH" infile

input:SOH
bla bla bla
bla bla bla
ETX IGNORE...
17,407
Posted By drl
Hi. Standard HPUX utility csplit is designed...
Hi.

Standard HPUX utility csplit is designed for this. For example, assuming a well-formatted file, this script:
#!/usr/bin/env bash

# @(#) s1 Demonstrate context splitting, csplit.
...
17,407
Posted By Don Cragun
You haven't told us what OS or shell you're...
You haven't told us what OS or shell you're using. You have told us some suggestions aren't working, but you haven't supplied any details about how they failed. You have shown us sample input with...
17,407
Posted By Don Cragun
Although this will work well with come versions...
Although this will work well with come versions of awk, the standards say that the behavior of awk is unspecified if the value of RS contains more than one character. On OS X (and several other...
Showing results 1 to 8 of 8

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