02-19-2009
help pls! need to move and copy pattern...
Help please...
Need to convert below:
Subcase ID : 10001
210000 0 1.22049E+01
220000 0 6.29560E+00
Subcase ID : 20703
210000 0 2.76398E+00
220000 0 2.43183E+00
230000 0 -1.87728E+01
Subcase ID : 13703
210000 0 -1.03837E+00
220000 0 -1.00083E+00
Subcase ID : 23001
220000 0 2.12349E-01
230000 0 -2.75454E+01
240000 0 -1.06509E+00
250000 0 -6.89584E-01
Into this:
210000 0 1.22049E+01 Subcase ID : 10001
220000 0 6.29560E+00 Subcase ID : 10001
210000 0 2.76398E+00 Subcase ID : 20703
220000 0 2.43183E+00 Subcase ID : 20703
230000 0 -1.87728E+01 Subcase ID : 20703
210000 0 -1.03837E+00 Subcase ID : 13703
220000 0 -1.00083E+00 Subcase ID : 13703
220000 0 2.12349E-01 Subcase ID : 23001
230000 0 -2.75454E+01 Subcase ID : 23001
240000 0 -1.06509E+00 Subcase ID : 23001
250000 0 -6.89584E-01 Subcase ID : 23001
The only thing that remains constant is the word "Subcase ID :"
Link to any article that discusses something similar would also be great help.
Thank you...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have created a folder on C:\images\Raffles.jpg on my PC, and I like to copy or move to Solaris server. How can I do that?
Please advise.
Thanks in advance. (2 Replies)
Discussion started by: simt
2 Replies
2. Shell Programming and Scripting
Hello Gurus!
Please help!
I would like to get some help with the following:
I'm working right now on a Data Warehouse project and I need to automate a manual procedure I am using to process the data files coming into the database, any information/ideas and or which script language to go... (4 Replies)
Discussion started by: alfpathros
4 Replies
3. Shell Programming and Scripting
Hi,
i have made this script for copy file in folder FTP in my local machine, when copy is finish i move files copied in backups_001 directory on same ftp
1°) the problem is if this script works with date if date is similar i taken, but if one day in ftp they put new file is no getting
... (0 Replies)
Discussion started by: livetele
0 Replies
4. Shell Programming and Scripting
Hello,
I made a script to copy files from one directory to another and move file after the copy is done. When files are present in the source directory there is no problem but when no file are present I'm getting an error.
Please help !!
---------------------
#!/bin/bash
... (2 Replies)
Discussion started by: lsimoneau
2 Replies
5. UNIX for Dummies Questions & Answers
I am trying to move a file that is in the root directory. I suspect it is an old file created by someone when the system was installed. I am testing accessing the file by doing a copy but the command does not find the file.
I am operating as root. We are HP-UX B.11.23
I do long listing and... (3 Replies)
Discussion started by: phcorn
3 Replies
6. Shell Programming and Scripting
Hello experts,
I'm doing a shell script that able to copy or move files.
My situation is i have a drive ( lets say its S drive) where its receive all the files from mainframe
i need to copy all the file from S drive to T drive. but only those files that are finished copied from mainframe... (5 Replies)
Discussion started by: CelvinSaran
5 Replies
7. Shell Programming and Scripting
I need to copy a file example hhh.txt to the recently created directory by name flexite@latesttimestamp in the path interface/home/ ...
I couldnt get the name of recently created directory ....
first result of ls -lst ...that is ls -lst |head -2 gives the latest directory but i could not... (2 Replies)
Discussion started by: helloo
2 Replies
8. Shell Programming and Scripting
Hi All,
I have a simple shell script to move .txt file(s) from a source directory one after another to the destination. The source directory is shared to windows using samba. The source files are arriving continuously and approx size is 10-15 KB. Some time the file size reached upto 100 KB and... (9 Replies)
Discussion started by: sraj142
9 Replies
9. Solaris
Hey everyone!. I have a problem with a file that doesn't allow any operation on it. I can't rm,mv,cp nor any other operation to it, I get the following errors:
bash-2.05# mv ora_2527.aud /bkp
mv: cannot access ora_2527.aud
bash-2.05# cp ora_2527.aud /bkp
cp: cannot access ora_2527.aud... (4 Replies)
Discussion started by: dragonov7
4 Replies
10. Red Hat
Hi all,
I'm Using Centos 6.4
/opt/my_aplication/entry/data/0/
There are Thousands of files in this Directory, Only i need to copy or move the apache User's file from this to /tmp/backup , I have listed apache user's file using find . -user apache -type f , its gave me the only apache... (2 Replies)
Discussion started by: babinlonston
2 Replies
LEARN ABOUT DEBIAN
vconsole.conf
VCONSOLE.CONF(5) vconsole.conf VCONSOLE.CONF(5)
NAME
vconsole.conf - configuration file for the virtual console
SYNOPSIS
/etc/vconsole.conf
DESCRIPTION
The /etc/vconsole.conf file configures the virtual console, i.e. keyboard mapping and console font.
The basic file format of the vconsole.conf is a newline-separated list environment-like shell-compatible variable assignments. It is
possible to source the configuration from shell scripts, however, beyond mere variable assignments no shell features are supported,
allowing applications to read the file without implementing a shell compatible execution engine.
Note that the kernel command line options vconsole.keymap=, vconsole.keymap.toggle=, vconsole.font=, vconsole.font.map=,
vconsole.font.unimap= may be used to override the console settings at boot.
Depending on the operating system other configuration files might be checked for configuration of the virtual console as well, however only
as fallback.
OPTIONS
The following options are understood:
KEYMAP=, KEYMAP_TOGGLE=
Configures the key mapping table of for they keyboard. KEYMAP= defaults to us if not set. The KEYMAP_TOGGLE= can be used to configured
a second toggle keymap and is by default unset.
FONT=, FONT_MAP=, FONT_UNIMAP=
Configures the console font, the console map and the unicode font map. FONT= defaults to latarcyrheb-sun16.
EXAMPLE
Example 1. German keyboard and console
/etc/vconsole.conf:
KEYMAP=de-latin1
FONT=latarcyrheb-sun16
SEE ALSO
systemd(1), loadkeys(1), setfont(8), locale.conf(5)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
systemd 10/07/2013 VCONSOLE.CONF(5)