Sponsored Content
Top Forums Shell Programming and Scripting cut the last column from the link Post 302568280 by jayan_jay on Thursday 27th of October 2011 01:29:57 AM
Old 10-27-2011
Code:
$ ls -ltr prodcode1 | awk -F/ '{print $(NF-1)}'

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

cut the third column from a file

I have a text file which has the following data. There can be more lines in the file. But, I am only interested in these two lines which has ~ZZ~VISTN and ~ZZ~F159B segments. ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183 7~U~00200~000011258~0~P~< ... (8 Replies)
Discussion started by: isingh786
8 Replies

2. Shell Programming and Scripting

cut column

I have a file as below, $vi myfile aaa;20071217 bbb;20070404 ccc;20070254 " if I want to cut the column 9-12 of the first line , the output should be 1217 , can advise how to write a script to get the result ? thx p.s. can a script that have only ONE line could do that ? (5 Replies)
Discussion started by: ust
5 Replies

3. Shell Programming and Scripting

To cut entire column from a file and apend it to another file as another column

file1.txt : india pakistan bangladesh japan canada africa USA srilanka Nepal file2.txt Delhi Tokyo washington I have to cut the first column of file1.txt and apend it with file2.txt as another column like this Delhi india Tokyo japan washington USA ... (4 Replies)
Discussion started by: sakthifire
4 Replies

4. UNIX for Advanced & Expert Users

cut a specific value from a column

Dear Friends, I have an output like this: 7072;0;7072901 7072;1001;7072902 7072;101;7072903 7072;102;7072904 7072;1101;7072905 7072;1301;7072906 7072;1401;7072907 7072;162;7072908 7072;1;7072909 and I need to print the value in the column 3 , row number 1. which is 7072901 only.... (2 Replies)
Discussion started by: sfaqih
2 Replies

5. Shell Programming and Scripting

how to cut off last column from the output

I have a problem with my script. I am using following code awk -F"," '{print $0,",",substr($2,3,3)}' $REG_InputFileName > $TargetSeqPath/Master.tmp while read i do echo $i > $TargetSeqPath/Ref.tmp OutFileName=`awk -F"," '{print $3}' $TargetSeqPath/Ref.tmp` rm -f... (9 Replies)
Discussion started by: manmeet
9 Replies

6. Shell Programming and Scripting

cut the first row first column value

Hi All, file create2.txt contains . /test.txt ./create.txt ./test2.txt test.txt contains inb-1|kuuhsdkjfhsd|djshfjksd|ndsbs896 inb-2|kuuhsdkjfhsd|djshfjksd|ndsbs896 inb-3|kuuhsdkjfhsd|djshfjksd|ndsbs896create.txt contains abv-1|kjsdgfjksd|sdkjbfhokjsd|skjdbfhjkosd... (8 Replies)
Discussion started by: adaleru
8 Replies

7. Shell Programming and Scripting

Pick the column value based on another column using awk or CUT

My scenario is that I need to pick value from third column based on fourth column value, if fourth column value is 1 then first value of third column.Third column (2|3|4|6|1) values are cancatenated. Please someone help me to resolve this issue. Source column1 column2 column3 column4... (2 Replies)
Discussion started by: Ganesh L
2 Replies

8. Shell Programming and Scripting

Cut first column from file in Vi(Vim)

I have a parts file that looks like this: EE36264|0NH46||Y|A|EA|0|0|0|N|LUNETTE 3" ADJ. EYE|0|0|*|0|PEOZZU|N|12|N|N|VPS|N|N|N|N|LUNETTE 3" ADJ. EYE|0|||Receive into Inventory|81755|EE36264|*|*|*|0|0||EE36264|A|*|* F1.5|53932||Y|A|EA|0|0|0|N|FLAT ZERO CAL... (4 Replies)
Discussion started by: djehresmann
4 Replies

9. Shell Programming and Scripting

Cut each column value and store in variable

Hi Pals, I have a file which contains a set of similar lines, as follows: Remedy Support Action Triggered by Incident Modification of type: ARA username2 ########## ARA|INC0000178532 INC0000178532 0000000019879 000000000038372 Remedy... (6 Replies)
Discussion started by: Khushbu
6 Replies

10. Shell Programming and Scripting

Get extract and replace column with link in a column where it exists

hi i have sample data a,b,c,d,e,g h http://mysite.xyx z,b,d,f,e,s t http://123124# a,b,c,i,m,nothing d,i,j,e,w,nothing output expected is a,b,c,d,e,http://mysite.xyx z,b,d,f,e,http://123124# a,b,c,i,m,nothing d,i,j,e,w,nothing i can get only links using grep -o 'http.*' i... (8 Replies)
Discussion started by: zozoo
8 Replies
Pango::Language(3)					User Contributed Perl Documentation					Pango::Language(3)

NAME
Pango::Language HIERARCHY
Glib::Boxed +----Pango::Language METHODS
language = Pango::Language->get_default Since: pango 1.16 direction = Pango->find_base_dir ($text) o $text (string) Since: pango 1.4 language = Pango::Language->from_string ($language) o $language (string) boolean = $language->includes_script ($script) o $script (Pango::Script) Since: pango 1.4 boolean = $language->matches ($range_list) o $range_list (string) string = $language->to_string ENUMS AND FLAGS
enum Pango::Direction o 'ltr' / 'PANGO_DIRECTION_LTR' o 'rtl' / 'PANGO_DIRECTION_RTL' o 'ttb-ltr' / 'PANGO_DIRECTION_TTB_LTR' o 'ttb-rtl' / 'PANGO_DIRECTION_TTB_RTL' o 'weak-ltr' / 'PANGO_DIRECTION_WEAK_LTR' o 'weak-rtl' / 'PANGO_DIRECTION_WEAK_RTL' o 'neutral' / 'PANGO_DIRECTION_NEUTRAL' enum Pango::Script o 'invalid-code' / 'PANGO_SCRIPT_INVALID_CODE' o 'common' / 'PANGO_SCRIPT_COMMON' o 'inherited' / 'PANGO_SCRIPT_INHERITED' o 'arabic' / 'PANGO_SCRIPT_ARABIC' o 'armenian' / 'PANGO_SCRIPT_ARMENIAN' o 'bengali' / 'PANGO_SCRIPT_BENGALI' o 'bopomofo' / 'PANGO_SCRIPT_BOPOMOFO' o 'cherokee' / 'PANGO_SCRIPT_CHEROKEE' o 'coptic' / 'PANGO_SCRIPT_COPTIC' o 'cyrillic' / 'PANGO_SCRIPT_CYRILLIC' o 'deseret' / 'PANGO_SCRIPT_DESERET' o 'devanagari' / 'PANGO_SCRIPT_DEVANAGARI' o 'ethiopic' / 'PANGO_SCRIPT_ETHIOPIC' o 'georgian' / 'PANGO_SCRIPT_GEORGIAN' o 'gothic' / 'PANGO_SCRIPT_GOTHIC' o 'greek' / 'PANGO_SCRIPT_GREEK' o 'gujarati' / 'PANGO_SCRIPT_GUJARATI' o 'gurmukhi' / 'PANGO_SCRIPT_GURMUKHI' o 'han' / 'PANGO_SCRIPT_HAN' o 'hangul' / 'PANGO_SCRIPT_HANGUL' o 'hebrew' / 'PANGO_SCRIPT_HEBREW' o 'hiragana' / 'PANGO_SCRIPT_HIRAGANA' o 'kannada' / 'PANGO_SCRIPT_KANNADA' o 'katakana' / 'PANGO_SCRIPT_KATAKANA' o 'khmer' / 'PANGO_SCRIPT_KHMER' o 'lao' / 'PANGO_SCRIPT_LAO' o 'latin' / 'PANGO_SCRIPT_LATIN' o 'malayalam' / 'PANGO_SCRIPT_MALAYALAM' o 'mongolian' / 'PANGO_SCRIPT_MONGOLIAN' o 'myanmar' / 'PANGO_SCRIPT_MYANMAR' o 'ogham' / 'PANGO_SCRIPT_OGHAM' o 'old-italic' / 'PANGO_SCRIPT_OLD_ITALIC' o 'oriya' / 'PANGO_SCRIPT_ORIYA' o 'runic' / 'PANGO_SCRIPT_RUNIC' o 'sinhala' / 'PANGO_SCRIPT_SINHALA' o 'syriac' / 'PANGO_SCRIPT_SYRIAC' o 'tamil' / 'PANGO_SCRIPT_TAMIL' o 'telugu' / 'PANGO_SCRIPT_TELUGU' o 'thaana' / 'PANGO_SCRIPT_THAANA' o 'thai' / 'PANGO_SCRIPT_THAI' o 'tibetan' / 'PANGO_SCRIPT_TIBETAN' o 'canadian-aboriginal' / 'PANGO_SCRIPT_CANADIAN_ABORIGINAL' o 'yi' / 'PANGO_SCRIPT_YI' o 'tagalog' / 'PANGO_SCRIPT_TAGALOG' o 'hanunoo' / 'PANGO_SCRIPT_HANUNOO' o 'buhid' / 'PANGO_SCRIPT_BUHID' o 'tagbanwa' / 'PANGO_SCRIPT_TAGBANWA' o 'braille' / 'PANGO_SCRIPT_BRAILLE' o 'cypriot' / 'PANGO_SCRIPT_CYPRIOT' o 'limbu' / 'PANGO_SCRIPT_LIMBU' o 'osmanya' / 'PANGO_SCRIPT_OSMANYA' o 'shavian' / 'PANGO_SCRIPT_SHAVIAN' o 'linear-b' / 'PANGO_SCRIPT_LINEAR_B' o 'tai-le' / 'PANGO_SCRIPT_TAI_LE' o 'ugaritic' / 'PANGO_SCRIPT_UGARITIC' o 'new-tai-lue' / 'PANGO_SCRIPT_NEW_TAI_LUE' o 'buginese' / 'PANGO_SCRIPT_BUGINESE' o 'glagolitic' / 'PANGO_SCRIPT_GLAGOLITIC' o 'tifinagh' / 'PANGO_SCRIPT_TIFINAGH' o 'syloti-nagri' / 'PANGO_SCRIPT_SYLOTI_NAGRI' o 'old-persian' / 'PANGO_SCRIPT_OLD_PERSIAN' o 'kharoshthi' / 'PANGO_SCRIPT_KHAROSHTHI' o 'unknown' / 'PANGO_SCRIPT_UNKNOWN' o 'balinese' / 'PANGO_SCRIPT_BALINESE' o 'cuneiform' / 'PANGO_SCRIPT_CUNEIFORM' o 'phoenician' / 'PANGO_SCRIPT_PHOENICIAN' o 'phags-pa' / 'PANGO_SCRIPT_PHAGS_PA' o 'nko' / 'PANGO_SCRIPT_NKO' o 'kayah-li' / 'PANGO_SCRIPT_KAYAH_LI' o 'lepcha' / 'PANGO_SCRIPT_LEPCHA' o 'rejang' / 'PANGO_SCRIPT_REJANG' o 'sundanese' / 'PANGO_SCRIPT_SUNDANESE' o 'saurashtra' / 'PANGO_SCRIPT_SAURASHTRA' o 'cham' / 'PANGO_SCRIPT_CHAM' o 'ol-chiki' / 'PANGO_SCRIPT_OL_CHIKI' o 'vai' / 'PANGO_SCRIPT_VAI' o 'carian' / 'PANGO_SCRIPT_CARIAN' o 'lycian' / 'PANGO_SCRIPT_LYCIAN' o 'lydian' / 'PANGO_SCRIPT_LYDIAN' SEE ALSO
Pango, Glib::Boxed COPYRIGHT
Copyright (C) 2003-2009 by the gtk2-perl team. This software is licensed under the LGPL. See Pango for a full notice. perl v5.12.1 2010-07-05 Pango::Language(3)
All times are GMT -4. The time now is 09:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy