Hi there, i am completely new to this great forum and to linux. Since 3 days i work with Ubuntu Lucid Lynx and i love the powers of the shell.
This script helped me a lot to understand the process a little bit.
Now my problem. I have this data set, tab delimited:
I have the following script:
I start the process by:
The Output is this:
As you might see, there's a problem with the white spaces in the file. How can i implement the function to get everything between the tabs? I have a data set of 60 K lines, sometimes with whole sentences written in between the tabs. Sentences would mean, there are comma, points and so on. Is there a possibility to get things right? Should i change the delimiter or .csv format to sthg. else or better work with perl? Would it be possible to generate a <sublabel></sublabel> element within the <label></label> block? I would appreciate some help, just to start somewhere. Thanks a lot.
Thanks Scrutinizer. Both versions of the script work like magic. The expect uotput format is this:
There are only 2 things to do for me reight now. To implement one sublabel, as my real data set looks like that:
Expected output would be like that:
I think i have an idea to do that. I'll run the script 2 times and merge the 2 different output files later (one containing the label, the other one the sublabel).
The other plan is to buy some books on shell scripting
You helped me a lot already, thanks for that.
@rdcwayx: awk seem to be a very mighty tool, i have to learn a lot.
Hello. I am working on creating a script to recursively run on my media collection. The goal is to recreate the folder structure, but with slight changes in the folder names based on my rules. The folders will also include the .jpg & .mkv files, renamed according to a similar set of rules.
... (4 Replies)
Hi,
Need Shell script to download the file with version or date from internet
Filename will be as
Eg:File-2.3.1.zip
Filename will keep on changing for every 4months as File-2.3.2 or File 2.4
Thanks,
Anil (4 Replies)
Bit of a long shot but is there a way i can have a script check a website for new version of software and dwnload it .
and maybe email me when it downlaods
not sure if that is even possible, to make it even worse i have to give a username and password to be able to download it
thanks
... (5 Replies)
Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1
a. Debian Squeeze (HP DL360). Need to use java version6
On Debian, I did apt-get install sun-java6-jdk. So when I check it's
java version "1.6.0_22"
Java(TM) SE... (1 Reply)
Hello!
I'm sorry if my question is kind of a noob question, but I'm searching for a way to "ask" a Server for the Version of a File. The problem is I have several clients asking every hour or so for the newest version of the file, so if I'm just downloading a md5sum or so I'm getting a lot of... (10 Replies)
Dear Linux Gurus and RedHat Experts,
I am about to install RHEL 5 Advanced Platform x86-64 on a high end machine with 4 sockets of CPU. However, I only have the subscription number from RedHat and can log on into rhn.redhat.com. However there are only one version ISO image per CPU... (0 Replies)