Sponsored Content
Full Discussion: Working with grep and Bash
Top Forums Shell Programming and Scripting Working with grep and Bash Post 302770552 by RudiC on Sunday 17th of February 2013 03:25:44 AM
Old 02-17-2013
On top of bipinajith's statement, it would be helpful if you posted (edited) samples of what you've got, e.g. a few meaningful lines of your downloads - DON'T post the videos! It's difficult to guess the line layout from the greps you've posted above.
 

10 More Discussions You Might Find Interesting

1. Solaris

grep -r isn't working

Hi, I was trying to use this particular option of grep grep -r 'Search_pattern' * This command should ideally search all the occurrences of Search_pattern recursively within a directory & print it on shell prompt. But this command is not doing what is expected. It just displays nothin! ... (8 Replies)
Discussion started by: harishmitty
8 Replies

2. UNIX for Dummies Questions & Answers

grep not working

This condition is not able to grep , can any one tell what's wrong with this part. I am able to see from unix command but not with host script. echo "Checking for Loader Status " >> $REPFILE if test $? = 0 then echo "Successful termination of SQL*Loader "$LOADER1 >>... (5 Replies)
Discussion started by: u263066
5 Replies

3. HP-UX

Why Bash is not working in HP-UX ?

Why Bash is not working in HP-UX ? What is similiar exe which is in HP_UX as Bash? (9 Replies)
Discussion started by: girija
9 Replies

4. Shell Programming and Scripting

grep not working ????

Hi, I've prob in doing grep. I want to grep line staring with number 531250 in the 1st column from a file (example in picture attached below) using command grep -w "531250" file my ideal result should be 531250 1 21 42.1 100 1e-05 ... (8 Replies)
Discussion started by: masterpiece
8 Replies

5. Shell Programming and Scripting

Working with bash and date

Hello all, I'm trying to substract 1 minute from the current date and take the hour and minute (for filename purpose). 1) If I want hour an minute from current time I can use: timetmp=$(date +"%H:%M") 2) To substract 1 minute from current time I can use: timetmp=$(date --date "$dte -1... (8 Replies)
Discussion started by: Lord Spectre
8 Replies

6. UNIX for Dummies Questions & Answers

grep -f not working

Hello, I'm going crazy about this. I'm using grep to filter some values as in pas -ef | grep asterisk. When I use the same with -f somefile something weird happens, if somefile is created with vi it'll work, if somefile is created with vi but values are pasted from an Excell file it will not work.... (2 Replies)
Discussion started by: seveman
2 Replies

7. UNIX for Dummies Questions & Answers

grep for word not working

Hi All..I need a help i am trying to find a word using below script whereas the word exists in my file nitin.txt as a directory but still i am getting "word not found" output..Your suggestions welcomed.: #to check for existence of nitin #!/bin/bash cd /apps/uat1/deploy/app ls -lrt >... (4 Replies)
Discussion started by: nattynitin
4 Replies

8. UNIX for Dummies Questions & Answers

Bash - CLI - grep - Passing result to grep through pipe

Hello. I want to get all modules which are loaded and which name are exactly 2 characters long and not more than 2 characters and begin with "nv" lsmod | (e)grep '^nv???????????? I want to get all modules which are loaded and which name begin with "nv" and are 2 to 7 characters long ... (1 Reply)
Discussion started by: jcdole
1 Replies

9. Shell Programming and Scripting

Grep not working on mac

Hi all, I got a new mac and can't get grep, awk etc to work. I tried the following command: grep DICER test.txt output: AGOER text.txt looks like this: DICER DICER AGOWhat is wrong? Please use code tags (23 Replies)
Discussion started by: Palgrave
23 Replies

10. Programming

Best way to get a bash script working in C

Ahoy friends. Currently i got a bash script running to manage my minecraft servers. All of them are stored in /home/minecraft_servers directory. Using my script im able to start a server (e.g. ./minecraft start ftb_continuum) because server name and server name are the same.(e.g.... (2 Replies)
Discussion started by: Knogle
2 Replies
WebService::YouTube::Feeds(3pm) 			User Contributed Perl Documentation			   WebService::YouTube::Feeds(3pm)

NAME
WebService::YouTube::Feeds - Perl interface to YouTube RSS Feeds VERSION
This document describes WebService::YouTube::Feeds version 1.0.3 SYNOPSIS
use WebService::YouTube::Feeds; my $feeds = WebService::YouTube::Feeds->new( { ua => '...' } ); my @videos = $feeds->tag($tag); my @videos = $feeds->user($user); my @videos = $feeds->recently_added; my @videos = $feeds->recently_featured; my @videos = $feeds->top_favorites; my @videos = $feeds->top_rated; my @videos = $feeds->most_discussed_month; my @videos = $feeds->most_discussed_today; my @videos = $feeds->most_discussed_week; my @videos = $feeds->top_viewed; my @videos = $feeds->top_viewed_month; my @videos = $feeds->top_viewed_today; my @videos = $feeds->top_viewed_week; DESCRIPTION
This is a Perl interface to YouTube RSS Feeds. See About RSS <http://youtube.com/rssls> for details. SUBROUTINES
/METHODS new( \%fields ) Creates and returns a new WebService::YouTube::Feeds object. %fields can contain parameters enumerated in "ACCESSORS" section. parse_rss($rss) Parses RSS and returns the result. $rss should be an object that XML::Simple can understand. tag( $tag ) Returns an array of WebService::YouTube::Video object. $tag is a keyword string separated by a space. See <http://youtube.com/rssls> for details. user( $user ) Returns an array of WebService::YouTube::Video object. $user is an username. See <http://youtube.com/rssls> for details. recently_added( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/rssls> for details. recently_featured( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/rssls> for details. top_favorites( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/rssls> for details. top_rated( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/rssls> for details. most_discussed_month( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/rssls> for details. most_discussed_today( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/rssls> for details. most_discussed_week( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/rssls> for details. top_viewed( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/rssls> for details. top_viewed_month( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/rssls> for details. top_viewed_today( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/rssls> for details. top_viewed_week( ) Returns an array of WebService::YouTube::Video object. See <http://youtube.com/rssls> for details. ACCESSORS ua LWP::UserAgent object DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
WebService::YouTube::Feeds requires no configuration files or environment variables. DEPENDENCIES
HTTP::Date, LWP::UserAgent, XML::Simple, WebService::YouTube::Util, WebService::YouTube::Video INCOMPATIBILITIES
None reported. BUGS AND LIMITATIONS
No bugs have been reported. Please report any bugs or feature requests to "bug-webservice-youtube@rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-YouTube>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. AUTHOR
Hironori Yoshida <yoshida@cpan.org> LICENSE AND COPYRIGHT
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. perl v5.10.1 2010-08-01 WebService::YouTube::Feeds(3pm)
All times are GMT -4. The time now is 11:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy