Sponsored Content
Top Forums Shell Programming and Scripting How to print the files names that being searched Post 302153641 by umen on Wednesday 26th of December 2007 01:49:25 AM
Old 12-26-2007
hello and thanks for the reply
but i have problem here
when i run this commnad with the "-l" switch im getting :
"(standard input) " as massage , i have no idea what it means .
when i remove the "-l" switch im getting the maches but without the file name
by the way im using cygwin .
 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

limit number of sub-dirs searched for files

using: find . -type f -print|xargs -li "string", how do I limit the dated directories (2010-7-14, 2010-7-13,etc.) to just 2009 & 2010 years of directories to search. We go back to 2004 in our archives, way too many files. (3 Replies)
Discussion started by: MJThom713
3 Replies

2. Shell Programming and Scripting

Searching across multiple files if pattern is available in all files searched

I have a list of pattern in a file, I want each of these pattern been searched from 4 files. I was wondering this can be done in SED / AWK. say my 4 files to be searched are > cat f1 abc/x(12) 1 abc/x 3 cde 2 zzz 3 fdf 4 > cat f2 fdf 4 cde 3 abc 2... (6 Replies)
Discussion started by: novice_man
6 Replies

3. Shell Programming and Scripting

Print numbers along with file names.

Hi All, I have some thousand files with names like 1.syl, 2.syl, 5.syl etc. These files contain one sentence each. I want to store all those sentences along with the file ID that is 1, 2, 5 with the sentences they contain. For example, 1.syl has this is a test line 2.syl has ... (3 Replies)
Discussion started by: shoaibjameel123
3 Replies

4. Shell Programming and Scripting

Print file names in a loop

OS : RHEL 6.1 Shell : Bash I have lots of files in /tmp/stage directory as show below. Using a loop, I need to print all the filenames in this directory except those ending with a number. How can I do this ? # pwd /tmp/stage # # # ls -l * -rw-r--r--. 1 root root 0 Oct 7 18:38 stmt1... (2 Replies)
Discussion started by: kraljic
2 Replies

5. Shell Programming and Scripting

Print continues names

Gents, I will like to print continues names according to a range of numbers example first number 1000 last number 1005 I would like to get the following result tape1000 tape1001 tape 1002 tape1003 tape1004 tape1005. Thanks for your support. (4 Replies)
Discussion started by: jiam912
4 Replies

6. Shell Programming and Scripting

Exclude certain file names while selectingData files coming in different names in a file name called

Data files coming in different names in a file name called process.txt. 1. shipments_yyyymmdd.gz 2 Order_yyyymmdd.gz 3. Invoice_yyyymmdd.gz 4. globalorder_yyyymmdd.gz The process needs to discard all the below files and only process two of the 4 file names available ... (1 Reply)
Discussion started by: dsravanam
1 Replies

7. Shell Programming and Scripting

Finding a string in a list of files, print file names

I'm interested in writing a report script using BASH that searches all of the files in a particular directory for a keyword and printing a list of files containing this string... In fact this reporting script would have searches for multiple keywords, so I'm interested in making multiple... (2 Replies)
Discussion started by: chemscripter904
2 Replies

8. Shell Programming and Scripting

Print the output with different file names

I have a python script that gives output called test.png. By using the following command I run the script every 2 seconds. What is the easiest way to save the output as follows ( test.png (1st output), tes1.png (second output), tes2.png ....) Command I i use while sleep 2; do python... (1 Reply)
Discussion started by: quincyjones
1 Replies

9. Shell Programming and Scripting

Directory containing files,Print names of the files in the directory that are exactly same content.

Given a directory containing say a few thousand files, please output a list of all the names of the files in the directory that are exactly the same, i.e. have the same contents. func(a_directory_name) output -> {“matches”: , ... ]} e.g. func(“/home/my/files”) where the directory... (7 Replies)
Discussion started by: anuragpgtgerman
7 Replies

10. Shell Programming and Scripting

Search for names in one list in another and print results

Hi All , New to the Bash / Shell programming world and looking for some help I have two files 1: Contains a list of names : eg STEVE BOB CRAIG 2: Contains information with those included names but also others that are not in the list (1 Reply)
Discussion started by: Lonerg550
1 Replies
IM-SWITCH(8)						      System Manager's Manual						      IM-SWITCH(8)

NAME
im-switch - set up input method for X Window SYNOPSIS
im-switch [-v][-z ll_CC] -s inputmethodname im-switch [-v][-z ll_CC] -c im-switch [-v][-z ll_CC] -a im-switch [-v][-z ll_CC] -l im-switch -h im-switch DESCRIPTION
This manual page very briefly documents the im-switch command. The im-switch command provides the framework to configure and to switch the input method on X Window System depending on the locale. This input method is the essential mechanism for Japanese, Chinese and Korean (CJK) languages to enter their non-ASCII native characters. Some input methods such as IBus, SCIM, and uim support not only one of these CJK languages but support almost all languages simultaneously by dynamically switching keyboard modes with GUI. The most desirable input method is provided as the configurable system wide default using Debian alternatives mechanism with /etc/alterna- tives/xinput-ll_CC link. The X start up code sources /etc/X11/Xsession.d/90im-switch which read the configuration file and activates the input method. The user configuration files and links are located in ~/.xinput.d/ . The system configuration files and links are located in /etc/X11/xinit/xin- put.d/ . This structure ensures to have different input methods to be installed side-by-side. im-switch understands the following options: -v Display verbose message during execution. -z ll_CC Set up the input method for X run under ll_CC locale (ISO 639 / ISO 3188). When changing the fallback default for all locales, use all_ALL as the quasi-locale value here. The setup by this all_ALL does not override specific setups. -s inputmethodname Set up the input method to use inputmethodname. -c Configure the input method with menu. (Under X, this uses GUI.) -a Reset the input method to the system default. -l List the input method configuration. -h Print a help message to the standard output and exit. When the im-switch command is invoked without any command arguments, it functions as -c option case. This is meant to be used by the GUI menu. SEE ALSO
update-alternatives(8) /usr/share/doc/im-switch/README.Debian /etc/X11/xinit/xinput.d/default AUTHOR
This manual page was written by Osamu Aoki <osamu@debian.org>, for the Debian GNU/Linux system (but may be used by others). IM-SWITCH(8)
All times are GMT -4. The time now is 08:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy