Sponsored Content
Full Discussion: Sorting script
Top Forums Shell Programming and Scripting Sorting script Post 302908736 by leveex on Thursday 10th of July 2014 09:23:03 AM
Old 07-10-2014
Not working says:
HTML Code:
find: -printf: unknown primary or operator

and [^"InProgres"] is to skip files that have "InProgres" in name.
Thanks

---------- Post updated at 08:23 AM ---------- Previous update was at 03:32 AM ----------

i forgot to say that i am using OS X 10.9.
I have found that find those not work on osx and that i should use awk.
Thanks in advance
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sorting in a script

Hello, I have a situation where I have filenames with timestamps like abc20060509452313.txt i need the most recent file, and i am using this command in the script: recent_file=`ls ${Location}/$file*| head -1` where $Location is the directory and $file is the base filename like abc. When i... (2 Replies)
Discussion started by: anujairaj
2 Replies

2. UNIX Desktop Questions & Answers

need unix script for sorting

Hi All, I am new to unix,please help me on the following its urgent I have 2 question 1 question I need a script for following senario I have get some files in directory by using grep i need to sort all files to new files for example (abc.dat --> abc.dat.sort) ex:grep *050508* ... (3 Replies)
Discussion started by: cgreddy2020
3 Replies

3. Shell Programming and Scripting

Sorting Windows Directories using Korn script.

I have a directory called test, which contains multiple sub directories namely TF80A, TF80B, TF80C. I need to sort these directories by name, so in the above case TF80A Is the oldest and TF80C is the latest. Is there a ksh script that would loop through the directories and sort these... (1 Reply)
Discussion started by: amadhani
1 Replies

4. Shell Programming and Scripting

Remove default data hash sorting in perl script?

Hi, I have a datahash with 'n' number of values in perl script. I am writing a xml file from the datahash. I am getting output with sorting(Field sorting). My question is that i don't want any default sorting.whatever i am inserting into datahash it should give same xml file. Any help? ... (0 Replies)
Discussion started by: solo123
0 Replies

5. Shell Programming and Scripting

Bourne Script, sorting and getting average of file

Hi I am trying to get a bourne shell script to sort a file for me. Here is what i currently have: #/bin/sh echo "Name Exam1 Exam2 Exam3 Total Grade" > final.txt awk -f 9.awk grades.txt | sort +4 -5 >> final.txt #BEGIN {printf "Name\tExam1\tExam2\tExam3\tTotal\tGrade";} { ... (12 Replies)
Discussion started by: DualPandas
12 Replies

6. Shell Programming and Scripting

Perl script for sorting out an input

<order>10.08.0</order> <order>11.02.0</order> <order>11.02.1</order> <order>11.02.2</order> <order>11.02.4</order> <order>11.02.5</order> <order>11.02.6</order> <order>11.04.0</order> <order>11.04.1</order> <order>11.04.2</order> ... (2 Replies)
Discussion started by: Tuxidow
2 Replies

7. Shell Programming and Scripting

Multi level sorting script

I want to sort like below Suppose few lines in a file is like this systemid:ABC messagedestination:batchxpr replytoqname: myca systemid:BCD messagedestination:realtime replytoqname: myca systemid:ABC messagedestination:realtime replytoqname: eac systemid: BCD messagedestination:mqonline... (1 Reply)
Discussion started by: srkmish
1 Replies

8. Shell Programming and Scripting

Sorting lines based on keywords for MySQL script

the thing which i require is very very complex.. i tried hard to find the solution but couldnt.. the thing i need to achieve is say i have a file cat delta.sql CREATE VIEW Austin Etc etc . . . CREATE VIEW Barabara AS SELECT blah blah blah FROM Austin z, Cluster s, Instance i WHERE... (4 Replies)
Discussion started by: vivek d r
4 Replies

9. Homework & Coursework Questions

Shell Script: Sorting by column using grep/awk

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: You will write a script that will read a tab-separated file that contains the names of all 50 states &... (7 Replies)
Discussion started by: tburns517
7 Replies

10. UNIX for Dummies Questions & Answers

Problem with sorting in shell script

Hi, I have the following list: 42A 42AA 42B 42BB 42AAA 42BBB 49A 49AA 49B 49AAA 49BB I need it to be sorted as following: 42A 42B (2 Replies)
Discussion started by: sairamtejaswi
2 Replies
HTML::WikiConverter::PhpWiki(3pm)			User Contributed Perl Documentation			 HTML::WikiConverter::PhpWiki(3pm)

NAME
HTML::WikiConverter::PhpWiki - Convert HTML to PhpWiki markup SYNOPSIS
use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => 'PhpWiki' ); print $wc->html2wiki( $html ); DESCRIPTION
This module contains rules for converting HTML into PhpWiki markup. See HTML::WikiConverter for additional usage details. AUTHOR
David J. Iberri, "<diberri at cpan.org>" BUGS
Please report any bugs or feature requests to "bug-html-wikiconverter-phpwiki at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-PhpWiki>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc HTML::WikiConverter::PhpWiki You can also look for information at: o AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/HTML-WikiConverter-PhpWiki> o CPAN Ratings <http://cpanratings.perl.org/d/HTML-WikiConverter-PhpWiki> o RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-PhpWiki> o Search CPAN <http://search.cpan.org/dist/HTML-WikiConverter-PhpWiki> COPYRIGHT &; LICENSE Copyright 2006 David J. Iberri, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2006-03-04 HTML::WikiConverter::PhpWiki(3pm)
All times are GMT -4. The time now is 05:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy