Summary: Hi, How do I append the filename to the end of every rows in a text file? my filename is ABC exiting lines CUPD|0|20205|FALSE|FALSE|International CUPD...
Summary: Hi, I would like to set a cron job from 9th to the end of the month. So I did it like: 0 1 9-31 * * echo "Testing CronJob" But I am not sure what wi...
Summary: Why do you have to use sed or awk? You said it needs to be appended to the end of the file. Why not just use: print "<string value>" >> <filen...
Summary: Hello, For my application, I have input dat ( around 1000 input files) which are simple ascii text files. These files were created on Windows platform...
Summary: Hi I try to add file name in end of the line of every row.Its work one file. but same code is not work other same type of file File Data: A,VF-NL...
Summary: Hey all, I am trying to add a string at the end of the line. and that line should start w/ /view/ so for exaple. if you have file and the line should ...
Summary: I renamed the file and moved it to an AIX 5.1 and same result. I am puzzled by it. why it is not prining all the print statements to either screen or ...
Summary: I want to get rid of the "," at the end of variable, and then make a directory using the varable name. For example, if the varaible = "Harry," I want...
Summary: Hi, I need to insert today's date (dd-mm-yyyy) at the end of each and every line in a text file. I nees #!/bin/sh. My file as follows. --------------...
Summary: hey, how would i go about adding text to the end of every 2nd line, then appending the second line to the first? any help would be appreciated ...
Summary: hi all I need some help and i hope someone can help me.. In /etc/group file I need to append usernames at the end of a group record so that these use...
Summary: I work @ Avaya formerly Lucent and work On SCO all day long...there could be several problems ... here are clips from some tech notes I have written. ...
Summary: We do not need a next command for the last if-statement. A next command terminates processing of the current line, which is often needed for your log...
Summary: The ${var#pat} and ${var%pat} constructs do not recognize begin-of-line and end-of-line anchors because their logic is already targeted to either the ...
Summary: I have this file w/ lot of inputs. now at the end of each input there has to be a "comma". if comma is not there program will ingore that input. so i ...
Summary: There are some things here that can stand some clarification and warnings ... The vi and sed solutions above will remove ALL leading spaces on each li...
Summary: How about searching for the string with a / at the end of the line: grep 'Mount Point: /$' data.file This works fine on my Solaris 7 box. If grep doe...
Summary: Hi, When i read two rows of records and concatenate into a file, i only get one row of record. I realise i cant see the end of line for the second rec...
Summary: Hi: I think you're right about missing a line-feed at the end of the last line. Under ksh, you could append one: printf '\012' >> data.file where \01...
Summary: Some explanations about the script -F "=" Set the internal awk variable FS to "=".,this specify the field separator value. NF >= 2 { . . . . } Select...
Summary: Hi Is there anyway of doing a "cat" of the start & end of a file & append it to another eg: __Start file______ 00:00 this is the start........ . . . 0...
Summary: :g/DATA/s/ [ ]*/CtrlVCtrlM/g For all lines containing the string DATA, the above command will change each string of spaces to a newline character. Th...
Summary: I have installed netatalk on solaris7 (sparcstation20). It seem to work when I start the atalk service. (./atalk start), but I can't see my statio...
Summary: Dear Helper/s I have tried to add a login banner (for a telnet session) to our Unix HP 10.20 server. I have edit the /etc/issue file with the nessecar...