07-23-2013
How exactly did you split the file? What did you type? If this doesn't work, it won't matter what you do on the windows end...
You can try the
cat from
busybox, start it with
busybox bash and you will have a bourne shell with proper * expansion and many commands available.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am a newbie for Unix Script. I have report like the following: (file name: Report.txt):
Report No.: AAA
BE NO: 111
asfsdflsjdfklsdjfklsjfklsfsflsjdlk
fsdfjsfkjsklfsfj
Report No.: AAA
BE NO: 111
sdfsdfjsdklfjsfkj
fsdflkjsdfklsjkl
Report No.: AAA (16 Replies)
Discussion started by: raychu65
16 Replies
2. UNIX for Dummies Questions & Answers
I have the following nawk script:
nawk -F: '{ if($0 ~ "^Report No") {fl=1; i=0;}
if(fl==1){data=$0; i++}
if($0 ~ "^BE NO:")
{
fname = "reprot_"$2".lis";
gsub(" ","",fname);
for(j=0;j<i;j++) print data > fname;
fl=0;
}
else if(fl==0) print $0 > fname;
}' filename
When I try to apply... (1 Reply)
Discussion started by: raychu65
1 Replies
3. Shell Programming and Scripting
Hi friends,
I have data in flat file as following, first filed is the customer number. We have almost 50-100 customers in the system
100 ABC A123
100 BVC D234
100 BNC N324
200 CBC A122
200 AVC D294
200 HNC N324
300 GBC A173
300 FVC D234
300 DNC N344
I want to split the file and... (5 Replies)
Discussion started by: monicasgupta
5 Replies
4. Shell Programming and Scripting
Hi
I have a big verilog file with multiple modules. Each module begin with the code word 'module <module-name>(ports,...)'
and end with the
'endmodule' keyword.
Could you please suggest the best way to split each of these modules into multiple files?
Thank you for the help.
Example of... (7 Replies)
Discussion started by: return_user
7 Replies
5. UNIX for Advanced & Expert Users
Hello,
i have a very big file that has more then 80 MBytes (100MBytes). So with my CVS Application I cannot commit this file (too Big) because it must have < 80 MBytes.
How can I split this file into two others files, i think the AIX Unix command :
split -b can do that, buit how is the right... (2 Replies)
Discussion started by: steiner
2 Replies
6. Shell Programming and Scripting
Hi friends..
We have urgent requirement.We need to split the big xml having multiple orders into multiple xmls
having each order in each xml.
For Example
In input XMl will be in following format with multiple line orders..
<OrderDetail BillToKey="20100805337" Createuserid="CreateGuestOrder"... (8 Replies)
Discussion started by: dprakash
8 Replies
7. Shell Programming and Scripting
I have a requirement to split a huge file to smaller text files based on first four characters which look like
ABCD
1234
DFGH
RREX
:
:
:
:
:
0000
Each of these records are OF EQUAL bytes with a different internal layout based on the above first digit identifier..
Any help to start... (5 Replies)
Discussion started by: etldev
5 Replies
8. Shell Programming and Scripting
this thread is a continuation from previous thread
https://www.unix.com/shell-programming-and-scripting/223901-split-big-file-into-multiple-files-based-first-four-characters.html
..I am using awk to split file and I have a syntax error while executing the below code
I am using AIX 7.2... (4 Replies)
Discussion started by: etldev
4 Replies
9. Shell Programming and Scripting
HI
I want to split file base on tag name.
I have few header and footer on file
<?xml version="1.33" encing="UTF-8"?>
<bulkCmConfigDataFile"
<xn:SubNetwork id="ONRM_ROOT">
<xn:MeContext id="PPP04156">
... (4 Replies)
Discussion started by: pareshkp
4 Replies
10. Solaris
Gents
Actually I have question and i need your support.
I have this NAS file system mounted as /coresys has size of 7 TB
I need to Split this file system into several file systems as mount points I mean how to can I Split it professionally to different NAS mount points how to can I decide... (2 Replies)
Discussion started by: AbuAliiiiiiiiii
2 Replies
LEARN ABOUT LINUX
initramfs.conf
INITRAMFS.CONF(5) initramfs.conf manual INITRAMFS.CONF(5)
NAME
initramfs.conf - configuration file for mkinitramfs
DESCRIPTION
The behaviour of mkinitramfs can be modified by its configuration file.
Each line in the file can be a configuration variable, a blank line, or a comment. The value of an variable is assigned by an statement of
the form: name=[value]
Configuration options can be broken out into configuration snippets and placed in individual files in the /etc/mkinitramfs/conf.d direc-
tory. Files in this directory are always read after the main configuration file, so you can override the settings in the main config file
without editing it directly.
GENERAL VARIABLES
MODULES
Specifies the modules for the initramfs image.
Modules listed in /etc/initramfs-tools/modules and /usr/share/initramfs-tools/modules.d/* are always included in the initramfs, and
are loaded early in the boot process.
list doesn't load any additional modules at boot time, other than those listed in the above files.
most adds most file system, all ata, sata, scsi and usb drivers.
dep tries to guess which modules are necessary for the running box and only adds those modules.
netboot adds the base and network modules, but skips block devices.
The default setting is most.
BUSYBOX
Include busybox utilities for the boot scripts. If set to 'n' mkinitramfs will build an initramfs without busybox. Beware that
many boot scripts need busybox utilities.
COMPRESS
Specifies the compression method used for the initramfs image. mkinitramfs will default to gzip if the kernel lacks support (CON-
FIG_RD) or the corresponding userspace utility is not present.
UMASK Set the umask value of the generated initramfs file. Useful to not disclose eventual keys.
COMPCACHE_SIZE
Amount of RAM to use for RAM-based compressed swap space. The default is not to use compcache.
An empty value - compcache isn't used, or added to the initramfs at all.
An integer and K (e.g. 65536 K) - use a number of kilobytes.
An integer and M (e.g. 256 M) - use a number of megabytes.
An integer and G (e.g. 1 G) - use a number of gigabytes.
An integer and % (e.g. 50 %) - use a percentage of the amount of RAM.
You can optionally install the compcache package to configure this setting via debconf and have userspace scripts to load and unload
compcache.
NFS VARIABLES
BOOT Allows one to use an nfs drive as the root of the drive. The default is to boot from local media (hard drive, USB stick). Set to
nfs for an NFS root share.
DEVICE
Specifies the network interface, like eth0.
ROOT Allows optional root bootarg hardcoding, when no root bootarg can be passed. A root bootarg overrides that special setting.
NFSROOT
Defaults to auto in order to pick up value from DHCP server. Otherwise you need to specify HOST:MOUNT.
FILES
/etc/initramfs-tools/initramfs.conf
AUTHOR
The initramfs-tools are written by Maximilian Attems <maks@debian.org>, Jeff Bailey <jbailey@raspberryginger.com> and numerous others.
Loosely based on mkinitrd.conf by Herbert Xu.
SEE ALSO
initramfs-tools(8), mkinitramfs(8), update-initramfs(8).
Linux 2010/11/22 INITRAMFS.CONF(5)