01-24-2020
This User Gave Thanks to Scrutinizer For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Shell Programming and Scripting
Dear friends,
please tell me how to find the files which are existing in the current directory, but it sholud not search in the sub directories..
it is like this,
current directory contains
file1, file2, file3, dir1, dir2
and dir1 conatins
file4, file5
and dir2 contains
file6,... (9 Replies)
Discussion started by: swamymns
9 Replies
3. Shell Programming and Scripting
hi I have the following input and i want to print all the rows from "BUY" Tag till "SELL" alongwith Buy/sell tag at end of each row
------
INPUT
=====
30/06/2009,NORMAL,ALL,ALL
BUY
1,CBLO/020709,T+0,30/06/2009,100.00,3.00,999835643.46,200906300000422,-, 15:04:42,BUY... (5 Replies)
Discussion started by: r_t_1601
5 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Red Hat
Dear All,
plz print the path of files which have the script of "who" & "w" commands.
thnx in advance. (6 Replies)
Discussion started by: saqlain.bashir
6 Replies
6. Shell Programming and Scripting
I have a bunch of random character lines like ABCEDFG. I want to find all lines with "A" and then change any "E" to "X" in the same line. ALL lines with "A" will have an "X" somewhere in it. I have tried sed awk and vi editor. I get close, not quite there. I know someone has already solved this... (10 Replies)
Discussion started by: nightwatchrenba
10 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)
Discussion started by: thomasraj87
4 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT DEBIAN
taggrepper
TAGGREPPER(1) User Commands TAGGREPPER(1)
NAME
taggrepper - search and match tags of media file for regular expressions
SYNOPSIS
taggrepper [--tag-label regexp]... [--display-taglabel]... [FILE/DIRECTORY]...
DESCRIPTION
Perform a regular expression search on the tags of specified media files.
Mandatory arguments to long options are mandatory for short options too. All regular expressions are Perl Compatible Regular expressions
supported by the PCRE libraries. Note that all matches are ANDed, meaning that for a successful match, matches against all tags must occur.
Support exists for MP3 files, and, if compiled in, for Ogg Vorbis and FLAC files as well.
-t, --title=REGEXP
Match the title tag against REGEXP
-a, --artist=REGEXP
Match the artist tag against REGEXP
-l, --album=REGEXP
Match the album, tag against REGEXP
-y, --year=REGEXP
Match the year tag against REGEXP
-g, --genre=REGEXP
Match the genre tag against REGEXP
-c, --comment=REGEXP
Match the comment tag against REGEXP
--track=REGEXP
Match the track tag against REGEXP
-c, --composer=REGEXP
Match the composer tag against REGEXP
-o, --orig-artist=REGEXP
Match the original artist tag against REGEXP
-c, --copyright=REGEXP
Match the copyright tag against REGEXP
-u, --url=REGEXP
Match the URL tag against REGEXP
-e, --encoded-by=REGEXP
Match the encoded-by tag against REGEXP
--any-tag=REGEXP
Match the encoded-by tag against REGEXP. Using this option makes every one of the above options to be ignored
--display-title
display title tag of matching files
--display-artist
display artist tag of matching files
--display-album
display album tag of matching files
--display-year
display year tag of matching files
--display-genre
display genre tag of matching files
--display-comment
display comment tag of matching files
--display-track
display track tag of matching files
--display-composer
display composer tag of matching files
--display-orig-artist
display orig-artist tag of matching files
--display-copyright
display copyright tag of matching files
--display-url
display url tag of matching files
--display-encoded-by
display encoded-by tag of matching files
-0, --print0,
Use null character as delimiter. This option can be used with -0 option of xargs.
-r, --recursive
Search directories recursively
-v, --version
Display version and exit
-h, --help
Display this help message
All regular expressions are PCRE regular expressions. Refer to the PCRE documentation for details. Report comments and bugs to
a.kumar@alumni.iitm.ac.in
COPYING
Copyright (C) Kumar Appaiah
License: BSD License (see COPYING file in the distribution tarball for details)
This program is free software; you can distribute it under the terms of the BSD License. See the file COPYING in the tarball, or
/usr/share/common-licenses/BSD on Debian-based systems.
SEE ALSO
pcre(3)
taggrepper 0.01 July 2009 TAGGREPPER(1)